3 writes to _backgroundDrawable
Microsoft.Maui.Controls.Compatibility (3)
Android\BorderBackgroundManager.cs (3)
106
_backgroundDrawable
= new BorderDrawable(Control.Context.ToPixels, Forms.GetColorButtonNormal(Control.Context), _drawOutlineWithBackground);
171
_backgroundDrawable
= null;
193
_backgroundDrawable
= null;
10 references to _backgroundDrawable
Microsoft.Maui.Controls.Compatibility (10)
Android\BorderBackgroundManager.cs (10)
28
public BorderDrawable BackgroundDrawable =>
_backgroundDrawable
;
105
if (
_backgroundDrawable
== null)
108
_backgroundDrawable
.BorderElement = BorderElement;
128
shadowColor =
_backgroundDrawable
.PressedBackgroundColor.ToAndroid();
139
_backgroundDrawable
.SetPadding(paddingTop, paddingLeft);
142
_backgroundDrawable
154
var rippleColor =
_backgroundDrawable
.PressedBackgroundColor.ToAndroid();
155
_rippleDrawable = new RippleDrawable(ColorStateList.ValueOf(rippleColor),
_backgroundDrawable
, null);
170
_backgroundDrawable
?.Reset();
192
_backgroundDrawable
?.Dispose();