1 write to Element
Microsoft.Maui.Controls.Compatibility (1)
Android\AppCompat\RadioButtonRenderer.cs (1)
82
Element
= (RadioButton)element;
24 references to Element
Microsoft.Maui.Controls.Compatibility (24)
Android\AppCompat\RadioButtonRenderer.cs (24)
49
VisualElement IBorderVisualElementRenderer.Element =>
Element
;
51
VisualElement IVisualElementRenderer.Element =>
Element
;
60
((IElementController)
Element
).SetValueFromRenderer(VisualElement.IsFocusedPropertyKey, hasFocus);
81
RadioButton oldElement =
Element
;
103
OnElementChanged(new ElementChangedEventArgs<RadioButton>(oldElement,
Element
));
124
ViewRenderer.MeasureExactly(this,
Element
, Context);
143
if (
Element
!= null)
145
Element
.PropertyChanged -= OnElementPropertyChanged;
154
if (
Element
!= null)
156
if (Platform.GetRenderer(
Element
) == this)
157
Element
.ClearValue(Platform.RendererProperty);
252
if (
Element
== null || _isDisposed)
257
Font font =
Element
.ToFont();
277
Typeface = font.ToTypeface(
Element
.RequireFontManager());
287
if (
Element
== null || _isDisposed)
292
_inputTransparent =
Element
.InputTransparent;
297
if (
Element
== null || _isDisposed || _textColorSwitcher == null)
302
_textColorSwitcher.Value.UpdateTextColor(this,
Element
.TextColor);
307
if (
Element
== null || Control == null)
310
Checked = ((RadioButton)
Element
).IsChecked;
315
if (
Element
== null || Control == null)
320
Control.Text =
Element
.ContentAsString();
325
((IElementController)
Element
).SetValueFromRenderer(RadioButton.IsCheckedProperty, isChecked);
338
_platformElementConfiguration =
Element
.OnThisPlatform();