1 write to BorderElement
Microsoft.Maui.Controls.Compatibility (1)
Android\BorderBackgroundManager.cs (1)
108
_backgroundDrawable.
BorderElement
= BorderElement;
14 references to BorderElement
Microsoft.Maui.Controls.Compatibility (14)
Android\Renderers\BorderDrawable.cs (14)
83
if (!_drawOutlineWithBackground &&
BorderElement
.BackgroundColor == null)
148
public Color BackgroundColor =>
BorderElement
.BackgroundColor ?? _defaultColor;
208
if (
BorderElement
.IsBackgroundSet())
210
Brush background =
BorderElement
.Background;
221
if (
BorderElement
.IsCornerRadiusSet() &&
BorderElement
.CornerRadius != (int)
BorderElement
.CornerRadiusDefaultValue)
222
cornerRadius =
BorderElement
.CornerRadius;
238
var radius = (float)
BorderElement
.CornerRadius;
245
var borderThickness = _convertToPixels(
BorderElement
.BorderWidth);
249
float borderWidth = _convertToPixels(
BorderElement
.BorderWidth);
278
if (
BorderElement
.BorderWidth <= 0)
284
float borderWidth = _convertToPixels(
BorderElement
.BorderWidth);
297
paint.Color =
BorderElement
.BorderColor.ToAndroid(Graphics.Colors.Black);