12 references to CheckBox
Microsoft.Maui.Controls (12)
CheckBox\CheckBox.cs (9)
8
public partial class CheckBox : View, IElementConfiguration<
CheckBox
>, IBorderElement, IColorElement, ICheckBox
10
readonly Lazy<PlatformConfigurationRegistry<
CheckBox
>> _platformConfigurationRegistry;
16
BindableProperty.Create(nameof(IsChecked), typeof(bool), typeof(
CheckBox
), false,
19
((
CheckBox
)bindable).Handler?.UpdateValue(nameof(ICheckBox.Foreground));
20
((
CheckBox
)bindable).CheckedChanged?.Invoke(bindable, new CheckedChangedEventArgs((bool)newValue));
21
((
CheckBox
)bindable).ChangeVisualState();
35
public CheckBox() => _platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
CheckBox
>>(() => new PlatformConfigurationRegistry<
CheckBox
>(this));
55
public IPlatformElementConfiguration<T,
CheckBox
> On<T>() where T : IConfigPlatform
Hosting\AppHostBuilderExtensions.cs (2)
70
handlersCollection.AddHandler<
CheckBox
, CheckBoxHandler>();
243
CheckBox
.RemapForControls();
ViewExtensions.cs (1)
433
else if (element is
CheckBox
cb && bool.TryParse(text, out bool result))