2 writes to BorderElement
Microsoft.Maui.Controls.Compatibility (2)
Android\BorderBackgroundManager.cs (2)
55
BorderElement
= (IBorderElement)e.NewElement;
203
BorderElement
= null;
16 references to BorderElement
Microsoft.Maui.Controls.Compatibility (16)
Android\BorderBackgroundManager.cs (16)
79
if (
BorderElement
== null || Control == null)
82
bool cornerRadiusIsDefault = !
BorderElement
.IsCornerRadiusSet() || (
BorderElement
.CornerRadius == (int)
BorderElement
.CornerRadiusDefaultValue ||
BorderElement
.CornerRadius == BorderDrawable.DefaultCornerRadius);
83
bool backgroundColorIsDefault = !
BorderElement
.IsBackgroundColorSet() ||
BorderElement
.BackgroundColor == (Color)VisualElement.BackgroundColorProperty.DefaultValue;
84
bool backgroundIsDefault = !
BorderElement
.IsBackgroundSet() ||
BorderElement
.Background == (Brush)VisualElement.BackgroundProperty.DefaultValue;
85
bool borderColorIsDefault = !
BorderElement
.IsBorderColorSet() ||
BorderElement
.BorderColor == (Color)
BorderElement
.BorderColorDefaultValue;
86
bool borderWidthIsDefault = !
BorderElement
.IsBorderWidthSet() ||
BorderElement
.BorderWidth == (double)
BorderElement
.BorderWidthDefaultValue;
108
_backgroundDrawable.BorderElement =
BorderElement
;