24 references to BorderElement
Microsoft.Maui.Controls (24)
Button\Button.cs (4)
87 public static readonly BindableProperty BorderColorProperty = BorderElement.BorderColorProperty; 92 public static readonly BindableProperty CornerRadiusProperty = BindableProperty.Create(nameof(CornerRadius), typeof(int), typeof(Button), defaultValue: BorderElement.DefaultCornerRadius); 152 get { return (Color)GetValue(BorderElement.BorderColorProperty); } 153 set { SetValue(BorderElement.BorderColorProperty, value); }
Frame\Frame.cs (3)
14 public static readonly BindableProperty BorderColorProperty = BorderElement.BorderColorProperty; 46 get { return (Color)GetValue(BorderElement.BorderColorProperty); } 47 set { SetValue(BorderElement.BorderColorProperty, value); }
ImageButton\ImageButton.cs (5)
25 public static readonly BindableProperty CornerRadiusProperty = BorderElement.CornerRadiusProperty; 28 public static readonly BindableProperty BorderWidthProperty = BorderElement.BorderWidthProperty; 31 public static readonly BindableProperty BorderColorProperty = BorderElement.BorderColorProperty; 71 get { return (Color)GetValue(BorderElement.BorderColorProperty); } 72 set { SetValue(BorderElement.BorderColorProperty, value); }
Properties\AssemblyInfo.cs (3)
87[assembly: StyleProperty("border-color", typeof(IBorderElement), nameof(BorderElement.BorderColorProperty))] 93[assembly: StyleProperty("border-radius", typeof(ImageButton), nameof(BorderElement.CornerRadiusProperty))] 94[assembly: StyleProperty("border-width", typeof(IBorderElement), nameof(BorderElement.BorderWidthProperty))]
RadioButton\RadioButton.cs (9)
94 public static readonly BindableProperty BorderColorProperty = BorderElement.BorderColorProperty; 97 public static readonly BindableProperty CornerRadiusProperty = BorderElement.CornerRadiusProperty; 100 public static readonly BindableProperty BorderWidthProperty = BorderElement.BorderWidthProperty; 269 int IBorderElement.CornerRadiusDefaultValue => (int)BorderElement.CornerRadiusProperty.DefaultValue; 271 Color IBorderElement.BorderColorDefaultValue => (Color)BorderElement.BorderColorProperty.DefaultValue; 273 double IBorderElement.BorderWidthDefaultValue => (double)BorderElement.BorderWidthProperty.DefaultValue; 279 bool IBorderElement.IsCornerRadiusSet() => IsSet(BorderElement.CornerRadiusProperty); 282 bool IBorderElement.IsBorderColorSet() => IsSet(BorderElement.BorderColorProperty); 283 bool IBorderElement.IsBorderWidthSet() => IsSet(BorderElement.BorderWidthProperty);