2 writes to Element
Microsoft.Maui.Controls.Compatibility (2)
Android\AppCompat\CheckBoxRendererBase.cs (2)
76 Element = null; 111 Element = checkBox;
19 references to Element
Microsoft.Maui.Controls.Compatibility (19)
Android\AppCompat\CheckBoxRendererBase.cs (19)
67 if (Element != null) 69 Element.PropertyChanged -= OnElementPropertyChanged; 71 if (Platform.GetRenderer(Element) == this) 73 Element.ClearValue(Platform.RendererProperty); 110 CheckBox oldElement = Element; 132 OnElementChanged(new ElementChangedEventArgs<CheckBox>(oldElement as CheckBox, Element)); 133 Element?.SendViewInitialized(Control); 181 ((IElementController)Element).SetValueFromRenderer(CheckBox.IsCheckedProperty, isChecked); 187 if (Element == null || Control == null) 190 Checked = Element.IsChecked; 195 var tintColor = Element.Color == null ? Application.AccentColor.ToAndroid() : Element.Color.ToAndroid(); 202 if (Element.BackgroundColor == null) 205 SetBackgroundColor(Element.BackgroundColor.ToAndroid()); 210 Brush background = Element.Background; 218 if (Element == null || Control == null) 231 ((IElementController)Element).SetValueFromRenderer(VisualElement.IsFocusedPropertyKey, hasFocus); 237 _platformElementConfiguration = Element.OnThisPlatform(); 251 VisualElement IVisualElementRenderer.Element => Element;