Home

Awesome

GradientBoxView

An empowered Xamarin.Forms' BoxView with 2-color gradients. NuGet

(Inspired on this Xamarin Forums thread.)

Android & iOS

How to use it

Just three easy steps:

  1. Add DevsDNA.GradientBoxView NuGet to both your PCL and platform projects;

  2. In your XAML file, add the following namespace –usually at the ContentPage root element:

xmlns:devsdna="clr-namespace:DevsDNA;assembly=DevsDNA.GradientBoxView"
  1. Place beautiful gradients there where you want!
<devsdna:GradientBoxView
    TopColor="White"
    BottomColor="Black" />

(If you're looking for more complex gradients –more than 2 colors, for instance– XFGloss may fit your needs.)

Pst! Have a look to the Examples folder to get some inspiration!