1 implementation of ICheckBox
Microsoft.Maui.Controls (1)
CheckBox\CheckBox.cs (1)
10
public partial class CheckBox : View, IElementConfiguration<CheckBox>, IBorderElement, IColorElement,
ICheckBox
23 references to ICheckBox
Microsoft.Maui (17)
Handlers\CheckBox\CheckBoxHandler.cs (13)
17
/// Represents the view handler for the abstract <see cref="
ICheckBox
"/> view and its platform-specific implementation.
22
public static IPropertyMapper<
ICheckBox
, ICheckBoxHandler> Mapper = new PropertyMapper<
ICheckBox
, ICheckBoxHandler>(ViewHandler.ViewMapper)
27
[nameof(
ICheckBox
.IsChecked)] = MapIsChecked,
28
[nameof(
ICheckBox
.Foreground)] = MapForeground,
31
public static CommandMapper<
ICheckBox
, CheckBoxHandler> CommandMapper = new(ViewCommandMapper)
50
ICheckBox
ICheckBoxHandler.VirtualView => VirtualView;
64
/// Maps the abstract <see cref="
ICheckBox
.IsChecked"/> property to the platform-specific implementations.
67
/// <param name="check">The associated <see cref="
ICheckBox
"/> instance.</param>
68
public static partial void MapIsChecked(ICheckBoxHandler handler,
ICheckBox
check);
71
/// Maps the abstract <see cref="
ICheckBox
.Foreground"/> property to the platform-specific implementations.
74
/// <param name="check">The associated <see cref="
ICheckBox
"/> instance.</param>
75
public static partial void MapForeground(ICheckBoxHandler handler,
ICheckBox
check);
Handlers\CheckBox\CheckBoxHandler.Standard.cs (3)
5
public partial class CheckBoxHandler : ViewHandler<
ICheckBox
, object>
9
public static partial void MapIsChecked(ICheckBoxHandler handler,
ICheckBox
check) { }
11
public static partial void MapForeground(ICheckBoxHandler handler,
ICheckBox
check) { }
Handlers\CheckBox\ICheckboxHandler.cs (1)
18
new
ICheckBox
VirtualView { get; }
Microsoft.Maui.Controls (6)
CheckBox\CheckBox.cs (2)
21
((CheckBox)bindable).Handler?.UpdateValue(nameof(
ICheckBox
.Foreground));
79
bool
ICheckBox
.IsChecked
CheckBox\CheckBox.Mapper.cs (3)
14
CheckBoxHandler.Mapper.ReplaceMapping<
ICheckBox
, ICheckBoxHandler>(nameof(Color), MapColor);
17
internal static void MapColor(ICheckBoxHandler handler,
ICheckBox
view)
19
handler?.UpdateValue(nameof(
ICheckBox
.Foreground));
ViewExtensions.cs (1)
406
else if (element is
ICheckBox
cb)