15 references to CheckBox
Microsoft.Maui.Controls (12)
CheckBox\CheckBox.cs (9)
10 public partial class CheckBox : View, IElementConfiguration<CheckBox>, IBorderElement, IColorElement, ICheckBox 12 readonly Lazy<PlatformConfigurationRegistry<CheckBox>> _platformConfigurationRegistry; 18 BindableProperty.Create(nameof(IsChecked), typeof(bool), typeof(CheckBox), false, 21 ((CheckBox)bindable).Handler?.UpdateValue(nameof(ICheckBox.Foreground)); 22 ((CheckBox)bindable).CheckedChanged?.Invoke(bindable, new CheckedChangedEventArgs((bool)newValue)); 23 ((CheckBox)bindable).ChangeVisualState(); 37 public CheckBox() => _platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<CheckBox>>(() => new PlatformConfigurationRegistry<CheckBox>(this)); 57 public IPlatformElementConfiguration<T, CheckBox> On<T>() where T : IConfigPlatform
Hosting\AppHostBuilderExtensions.cs (2)
70 handlersCollection.AddHandler<CheckBox, CheckBoxHandler>(); 249 CheckBox.RemapForControls();
ViewExtensions.cs (1)
433 else if (element is CheckBox cb && bool.TryParse(text, out bool result))
Microsoft.Maui.Controls.Compatibility (3)
iOS\Renderers\CheckBoxRendererBase.cs (3)
12 public abstract class CheckBoxRendererBase<T> : ViewRenderer<CheckBox, T> 104 protected override void OnElementChanged(ElementChangedEventArgs<CheckBox> e) 152 if (e.Is(CheckBox.ColorProperty))