title: Gradient as a Buttons BorderColor?
body: <p>I want to set a gradient border color for a Xamarin.Forms button. How can I do that?</p>
  
  <p>Current:<br>
  <a href="https://i.stack.imgur.com/PBZBP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PBZBP.png" alt="no-gradient-solid-color"></a></p>
  
  <p>Desire:<br>
  <a href="https://i.stack.imgur.com/gdofY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gdofY.png" alt="gradient"></a></p>
  
  <p>A few options rise to the top through Google, but none seem to be platform independent AND work for Buttons. </p>
  
  <p>To name a couple:<br>
  -Using a WebView and setting the gradient background using CSS
  (source: <a href="https://forums.xamarin.com/discussion/22440/gradient-as-background-color" rel="nofollow noreferrer">Xamarin forums</a>)<br>
  -<a href="https://github.com/tbaggett/xfgloss" rel="nofollow noreferrer">XFGloss</a> looks to be a outstandingly well-designed solution but, unfortunately its scope, as written, appears to be Cell views and Layouts only. Likewise even if this does work for Buttons, it appears to be iOS &amp; Android only. </p>
  
  <p>The desire is an iOS &amp; UWP compatible solution for applying gradients to a Button s BorderColor.</p>
  
  <p>Did some preliminary digging and have yet to find anything for Buttons. A thousand apologies if I missed a post on SO regarding Button BorderColor property gradients.</p>