This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GradientView : ContentView | |
{ | |
private AbsoluteLayout _absoluteLayout; | |
public Color StartColor { get; set; } = (Color)App.Current.Resources["GradientStartColor"]; | |
public Color EndColor { get; set; } = (Color)App.Current.Resources["GradientEndColor"]; | |
public bool Horizontal { get; set; } = true; | |
public bool HasShadow { get; set; } = true; | |
public double CornerRadius { get; set; } = 0f; |