2 writes to _element
Microsoft.Maui.Controls.Compatibility (2)
iOS\Renderers\ButtonLayoutManager.cs (2)
155
_element
= null;
160
_element
= button;
28 references to _element
Microsoft.Maui.Controls.Compatibility (28)
iOS\Renderers\ButtonLayoutManager.cs (28)
81
if (_disposed || _renderer == null ||
_element
== null)
113
if (_disposed || _renderer == null ||
_element
== null || control == null)
116
control.TitleLabel.LineBreakMode =
_element
.LineBreakMode switch
130
if (_disposed || _renderer == null ||
_element
== null)
152
if (
_element
!= null)
154
_element
.PropertyChanged -= OnElementPropertyChanged;
161
_element
.PropertyChanged += OnElementPropertyChanged;
169
if (_disposed || _renderer == null ||
_element
== null)
190
if (_disposed || _renderer == null ||
_element
== null)
197
var transformedText =
_element
.UpdateFormsText(
_element
.Text,
_element
.TextTransform);
204
if (
_element
.CharacterSpacing == 0 && normalTitle == null)
219
.WithCharacterSpacing(
_element
.CharacterSpacing);
224
.WithCharacterSpacing(
_element
.CharacterSpacing);
229
.WithCharacterSpacing(
_element
.CharacterSpacing);
255
if (_disposed || _renderer == null ||
_element
== null)
264
await ImageElementManager.SetImage(imageRenderer,
_element
);
276
if (_disposed || _renderer == null ||
_element
== null)
295
(nfloat)
_element
.Padding.Top + defaultPadding.Top + adjustments.Top,
296
(nfloat)
_element
.Padding.Left + defaultPadding.Left + adjustments.Left,
297
(nfloat)
_element
.Padding.Bottom + defaultPadding.Bottom + adjustments.Bottom,
298
(nfloat)
_element
.Padding.Right + defaultPadding.Right + adjustments.Right);
303
if (_disposed || _renderer == null ||
_element
== null)
320
if (_disposed || _renderer == null ||
_element
== null)
335
if (_borderAdjustsPadding &&
_element
is IBorderElement borderElement && borderElement.IsBorderWidthSet() && borderElement.BorderWidth != borderElement.BorderWidthDefaultValue)
337
var width = (nfloat)
_element
.BorderWidth;
344
var layout =
_element
.ContentLayout;