Skip to content

Commit 123535b

Browse files
rmarinhoNirmalKumarYuvarajCopilot
authored
[release/10.0.1xx-rc1] NET 10 - Added command and command parameter for CheckBox control (#31253)
* Added command and command parameter * added xml comments * added unit tests * Added UI tests * Update src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CheckBoxFeatureTests.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Added inline docs * added missing snaps * fixed test case failure * updated snaps --------- Co-authored-by: NirmalKumarYuvaraj <97871636+NirmalKumarYuvaraj@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7c6f3fb commit 123535b

File tree

20 files changed

+473
-57
lines changed

20 files changed

+473
-57
lines changed

src/Controls/src/Core/CheckBox/CheckBox.cs

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
#nullable disable
22
using System;
33
using System.Diagnostics;
4+
using System.Windows.Input;
5+
using Microsoft.Maui.Controls.Internals;
46
using Microsoft.Maui.Graphics;
57

68
namespace Microsoft.Maui.Controls
79
{
810
/// <include file="../../docs/Microsoft.Maui.Controls/CheckBox.xml" path="Type[@FullName='Microsoft.Maui.Controls.CheckBox']/Docs/*" />
911
[DebuggerDisplay("{GetDebuggerDisplay(), nq}")]
1012
[ElementHandler<CheckBoxHandler>]
11-
public partial class CheckBox : View, IElementConfiguration<CheckBox>, IBorderElement, IColorElement, ICheckBox
13+
public partial class CheckBox : View, IElementConfiguration<CheckBox>, IBorderElement, IColorElement, ICheckBox, ICommandElement
1214
{
1315
readonly Lazy<PlatformConfigurationRegistry<CheckBox>> _platformConfigurationRegistry;
1416
/// <include file="../../docs/Microsoft.Maui.Controls/CheckBox.xml" path="//Member[@MemberName='IsCheckedVisualState']/Docs/*" />
@@ -19,11 +21,45 @@ public partial class CheckBox : View, IElementConfiguration<CheckBox>, IBorderEl
1921
BindableProperty.Create(nameof(IsChecked), typeof(bool), typeof(CheckBox), false,
2022
propertyChanged: (bindable, oldValue, newValue) =>
2123
{
22-
((CheckBox)bindable).Handler?.UpdateValue(nameof(ICheckBox.Foreground));
23-
((CheckBox)bindable).CheckedChanged?.Invoke(bindable, new CheckedChangedEventArgs((bool)newValue));
24-
((CheckBox)bindable).ChangeVisualState();
24+
if (bindable is not CheckBox checkBox)
25+
{
26+
return;
27+
}
28+
29+
checkBox.Handler?.UpdateValue(nameof(ICheckBox.Foreground));
30+
checkBox.CheckedChanged?.Invoke(bindable, new CheckedChangedEventArgs((bool)newValue));
31+
if (checkBox.Command?.CanExecute(checkBox.CommandParameter) == true)
32+
{
33+
checkBox.Command.Execute(checkBox.CommandParameter);
34+
}
35+
36+
checkBox.ChangeVisualState();
2537
}, defaultBindingMode: BindingMode.TwoWay);
2638

39+
/// <summary>Bindable property for the <see cref="Command"/> property.</summary>
40+
public static readonly BindableProperty CommandProperty = BindableProperty.Create(nameof(Command), typeof(ICommand), typeof(CheckBox), null, propertyChanging: CommandElement.OnCommandChanging, propertyChanged: CommandElement.OnCommandChanged);
41+
42+
/// <summary>Bindable property for the <see cref="CommandParameter"/> property.</summary>
43+
public static readonly BindableProperty CommandParameterProperty = BindableProperty.Create(nameof(CommandParameter), typeof(object), typeof(CheckBox), null, propertyChanged: CommandElement.OnCommandParameterChanged);
44+
45+
/// <summary>
46+
/// Gets or sets the command that is executed when the CheckBox is checked or unchecked. This is a bindable property.
47+
/// </summary>
48+
public ICommand Command
49+
{
50+
get => (ICommand)GetValue(CommandProperty);
51+
set => SetValue(CommandProperty, value);
52+
}
53+
54+
/// <summary>
55+
/// Gets or sets the parameter to pass to the <see cref="Command"/> when it is executed. This is a bindable property.
56+
/// </summary>
57+
public object CommandParameter
58+
{
59+
get => GetValue(CommandParameterProperty);
60+
set => SetValue(CommandParameterProperty, value);
61+
}
62+
2763
/// <summary>Bindable property for <see cref="Color"/>.</summary>
2864
public static readonly BindableProperty ColorProperty = ColorElement.ColorProperty;
2965

@@ -105,6 +141,11 @@ void IBorderElement.OnBorderColorPropertyChanged(Color oldValue, Color newValue)
105141
bool IBorderElement.IsBackgroundSet() => IsSet(BackgroundProperty);
106142
bool IBorderElement.IsBorderColorSet() => false;
107143
bool IBorderElement.IsBorderWidthSet() => false;
144+
void ICommandElement.CanExecuteChanged(object sender, EventArgs e) =>
145+
RefreshIsEnabledProperty();
146+
147+
protected override bool IsEnabledCore =>
148+
base.IsEnabledCore && CommandElement.GetCanExecute(this);
108149
public Paint Foreground => Color?.AsPaint();
109150

110151
bool ICheckBox.IsChecked
@@ -113,6 +154,12 @@ bool ICheckBox.IsChecked
113154
set => SetValue(IsCheckedProperty, value, SetterSpecificity.FromHandler);
114155
}
115156

157+
ICommand ICommandElement.Command => Command;
158+
159+
object ICommandElement.CommandParameter => CommandParameter;
160+
161+
WeakCommandSubscription ICommandElement.CleanupTracker { get; set; }
162+
116163
private protected override string GetDebuggerDisplay()
117164
{
118165
return $"{base.GetDebuggerDisplay()}, IsChecked = {IsChecked}";

src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ Microsoft.Maui.Controls.ContentPresenter.Padding.set -> void
3838
Microsoft.Maui.Controls.ContentPresenter.UpdateChildrenLayout() -> void
3939
Microsoft.Maui.Controls.ContentView.SafeAreaEdges.get -> Microsoft.Maui.SafeAreaEdges
4040
Microsoft.Maui.Controls.ContentView.SafeAreaEdges.set -> void
41+
override Microsoft.Maui.Controls.CheckBox.IsEnabledCore.get -> bool
42+
~Microsoft.Maui.Controls.CheckBox.Command.get -> System.Windows.Input.ICommand
43+
~Microsoft.Maui.Controls.CheckBox.Command.set -> void
44+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.get -> object
45+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.set -> void
4146
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime oldDate, System.DateTime newDate) -> void
4247
Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime? oldDate, System.DateTime? newDate) -> void
4348
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.NewDate.get -> System.DateTime
@@ -452,6 +457,8 @@ static readonly Microsoft.Maui.Controls.Border.SafeAreaEdgesProperty -> Microsof
452457
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
453458
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
454459
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.NumberOfClicksRequiredProperty -> Microsoft.Maui.Controls.BindableProperty
460+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
461+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
455462
~static readonly Microsoft.Maui.Controls.ContentPage.SafeAreaEdgesProperty -> Microsoft.Maui.Controls.BindableProperty
456463
~static readonly Microsoft.Maui.Controls.ContentPresenter.CascadeInputTransparentProperty -> Microsoft.Maui.Controls.BindableProperty
457464
~static readonly Microsoft.Maui.Controls.ContentPresenter.PaddingProperty -> Microsoft.Maui.Controls.BindableProperty

src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ Microsoft.Maui.Controls.ContentPresenter.Padding.set -> void
3838
Microsoft.Maui.Controls.ContentPresenter.UpdateChildrenLayout() -> void
3939
Microsoft.Maui.Controls.ContentView.SafeAreaEdges.get -> Microsoft.Maui.SafeAreaEdges
4040
Microsoft.Maui.Controls.ContentView.SafeAreaEdges.set -> void
41+
override Microsoft.Maui.Controls.CheckBox.IsEnabledCore.get -> bool
42+
~Microsoft.Maui.Controls.CheckBox.Command.get -> System.Windows.Input.ICommand
43+
~Microsoft.Maui.Controls.CheckBox.Command.set -> void
44+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.get -> object
45+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.set -> void
4146
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime oldDate, System.DateTime newDate) -> void
4247
Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime? oldDate, System.DateTime? newDate) -> void
4348
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.NewDate.get -> System.DateTime
@@ -432,6 +437,8 @@ static readonly Microsoft.Maui.Controls.Border.SafeAreaEdgesProperty -> Microsof
432437
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
433438
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
434439
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.NumberOfClicksRequiredProperty -> Microsoft.Maui.Controls.BindableProperty
440+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
441+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
435442
~static readonly Microsoft.Maui.Controls.ContentPage.SafeAreaEdgesProperty -> Microsoft.Maui.Controls.BindableProperty
436443
~static readonly Microsoft.Maui.Controls.ContentPresenter.CascadeInputTransparentProperty -> Microsoft.Maui.Controls.BindableProperty
437444
~static readonly Microsoft.Maui.Controls.ContentPresenter.PaddingProperty -> Microsoft.Maui.Controls.BindableProperty

src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ Microsoft.Maui.Controls.ContentPresenter.Padding.set -> void
3838
Microsoft.Maui.Controls.ContentPresenter.UpdateChildrenLayout() -> void
3939
Microsoft.Maui.Controls.ContentView.SafeAreaEdges.get -> Microsoft.Maui.SafeAreaEdges
4040
Microsoft.Maui.Controls.ContentView.SafeAreaEdges.set -> void
41+
override Microsoft.Maui.Controls.CheckBox.IsEnabledCore.get -> bool
42+
~Microsoft.Maui.Controls.CheckBox.Command.get -> System.Windows.Input.ICommand
43+
~Microsoft.Maui.Controls.CheckBox.Command.set -> void
44+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.get -> object
45+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.set -> void
4146
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime oldDate, System.DateTime newDate) -> void
4247
Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime? oldDate, System.DateTime? newDate) -> void
4348
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.NewDate.get -> System.DateTime
@@ -432,6 +437,8 @@ static readonly Microsoft.Maui.Controls.Border.SafeAreaEdgesProperty -> Microsof
432437
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
433438
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
434439
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.NumberOfClicksRequiredProperty -> Microsoft.Maui.Controls.BindableProperty
440+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
441+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
435442
~static readonly Microsoft.Maui.Controls.ContentPage.SafeAreaEdgesProperty -> Microsoft.Maui.Controls.BindableProperty
436443
~static readonly Microsoft.Maui.Controls.ContentPresenter.CascadeInputTransparentProperty -> Microsoft.Maui.Controls.BindableProperty
437444
~static readonly Microsoft.Maui.Controls.ContentPresenter.PaddingProperty -> Microsoft.Maui.Controls.BindableProperty

src/Controls/src/Core/PublicAPI/net-tizen/PublicAPI.Unshipped.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ const Microsoft.Maui.Controls.BrushTypeConverter.Rgb = "rgb" -> string!
77
const Microsoft.Maui.Controls.BrushTypeConverter.Rgba = "rgba" -> string!
88
Microsoft.Maui.Controls.BrushTypeConverter.GradientBrushParser.GradientBrushParser(Microsoft.Maui.Graphics.Converters.ColorTypeConverter? colorConverter = null) -> void
99
Microsoft.Maui.Controls.BrushTypeConverter.GradientBrushParser.Parse(string? css) -> Microsoft.Maui.Controls.GradientBrush?
10+
override Microsoft.Maui.Controls.CheckBox.IsEnabledCore.get -> bool
11+
~Microsoft.Maui.Controls.CheckBox.Command.get -> System.Windows.Input.ICommand
12+
~Microsoft.Maui.Controls.CheckBox.Command.set -> void
13+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.get -> object
14+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.set -> void
1015
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime oldDate, System.DateTime newDate) -> void
1116
Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime? oldDate, System.DateTime? newDate) -> void
1217
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.NewDate.get -> System.DateTime
@@ -94,6 +99,8 @@ Microsoft.Maui.Controls.Xaml.Internals.AllowImplicitXmlnsDeclarationAttribute.Al
9499
*REMOVED*~static Microsoft.Maui.Controls.MenuItem.GetAccelerator(Microsoft.Maui.Controls.BindableObject bindable) -> Microsoft.Maui.Controls.Accelerator
95100
*REMOVED*~static Microsoft.Maui.Controls.MenuItem.SetAccelerator(Microsoft.Maui.Controls.BindableObject bindable, Microsoft.Maui.Controls.Accelerator value) -> void
96101
*REMOVED*~static readonly Microsoft.Maui.Controls.MenuItem.AcceleratorProperty -> Microsoft.Maui.Controls.BindableProperty
102+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
103+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
97104
override Microsoft.Maui.Controls.BrushTypeConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type! sourceType) -> bool
98105
override Microsoft.Maui.Controls.BrushTypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Type? destinationType) -> bool
99106
override Microsoft.Maui.Controls.BrushTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object! value) -> object?

src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ Microsoft.Maui.Controls.ContentPresenter.Padding.set -> void
3838
Microsoft.Maui.Controls.ContentPresenter.UpdateChildrenLayout() -> void
3939
Microsoft.Maui.Controls.ContentView.SafeAreaEdges.get -> Microsoft.Maui.SafeAreaEdges
4040
Microsoft.Maui.Controls.ContentView.SafeAreaEdges.set -> void
41+
override Microsoft.Maui.Controls.CheckBox.IsEnabledCore.get -> bool
42+
~Microsoft.Maui.Controls.CheckBox.Command.get -> System.Windows.Input.ICommand
43+
~Microsoft.Maui.Controls.CheckBox.Command.set -> void
44+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.get -> object
45+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.set -> void
4146
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime oldDate, System.DateTime newDate) -> void
4247
Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime? oldDate, System.DateTime? newDate) -> void
4348
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.NewDate.get -> System.DateTime
@@ -443,6 +448,8 @@ static readonly Microsoft.Maui.Controls.Border.SafeAreaEdgesProperty -> Microsof
443448
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
444449
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
445450
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.NumberOfClicksRequiredProperty -> Microsoft.Maui.Controls.BindableProperty
451+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
452+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
446453
~static readonly Microsoft.Maui.Controls.ContentPage.SafeAreaEdgesProperty -> Microsoft.Maui.Controls.BindableProperty
447454
~static readonly Microsoft.Maui.Controls.ContentPresenter.CascadeInputTransparentProperty -> Microsoft.Maui.Controls.BindableProperty
448455
~static readonly Microsoft.Maui.Controls.ContentPresenter.PaddingProperty -> Microsoft.Maui.Controls.BindableProperty

src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ Microsoft.Maui.Controls.ContentPresenter.Padding.set -> void
3838
Microsoft.Maui.Controls.ContentPresenter.UpdateChildrenLayout() -> void
3939
Microsoft.Maui.Controls.ContentView.SafeAreaEdges.get -> Microsoft.Maui.SafeAreaEdges
4040
Microsoft.Maui.Controls.ContentView.SafeAreaEdges.set -> void
41+
override Microsoft.Maui.Controls.CheckBox.IsEnabledCore.get -> bool
42+
~Microsoft.Maui.Controls.CheckBox.Command.get -> System.Windows.Input.ICommand
43+
~Microsoft.Maui.Controls.CheckBox.Command.set -> void
44+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.get -> object
45+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.set -> void
4146
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime oldDate, System.DateTime newDate) -> void
4247
Microsoft.Maui.Controls.DateChangedEventArgs.DateChangedEventArgs(System.DateTime? oldDate, System.DateTime? newDate) -> void
4348
*REMOVED*Microsoft.Maui.Controls.DateChangedEventArgs.NewDate.get -> System.DateTime
@@ -414,6 +419,8 @@ static readonly Microsoft.Maui.Controls.Border.SafeAreaEdgesProperty -> Microsof
414419
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
415420
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
416421
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.NumberOfClicksRequiredProperty -> Microsoft.Maui.Controls.BindableProperty
422+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
423+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
417424
~static readonly Microsoft.Maui.Controls.ContentPage.SafeAreaEdgesProperty -> Microsoft.Maui.Controls.BindableProperty
418425
~static readonly Microsoft.Maui.Controls.ContentPresenter.CascadeInputTransparentProperty -> Microsoft.Maui.Controls.BindableProperty
419426
~static readonly Microsoft.Maui.Controls.ContentPresenter.PaddingProperty -> Microsoft.Maui.Controls.BindableProperty

src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ Microsoft.Maui.Controls.ContentPage.SafeAreaEdges.get -> Microsoft.Maui.SafeArea
3030
Microsoft.Maui.Controls.ContentPage.SafeAreaEdges.set -> void
3131
Microsoft.Maui.Controls.ContentPresenter.CascadeInputTransparent.get -> bool
3232
Microsoft.Maui.Controls.ContentPresenter.CascadeInputTransparent.set -> void
33+
override Microsoft.Maui.Controls.CheckBox.IsEnabledCore.get -> bool
34+
~Microsoft.Maui.Controls.CheckBox.Command.get -> System.Windows.Input.ICommand
35+
~Microsoft.Maui.Controls.CheckBox.Command.set -> void
36+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.get -> object
37+
~Microsoft.Maui.Controls.CheckBox.CommandParameter.set -> void
3338
~Microsoft.Maui.Controls.ContentPresenter.Children.get -> System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Controls.Element>
3439
~Microsoft.Maui.Controls.ContentPresenter.LowerChild(Microsoft.Maui.Controls.View view) -> void
3540
Microsoft.Maui.Controls.ContentPresenter.Padding.get -> Microsoft.Maui.Thickness
@@ -414,6 +419,8 @@ static readonly Microsoft.Maui.Controls.Border.SafeAreaEdgesProperty -> Microsof
414419
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
415420
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
416421
*REMOVED*~static readonly Microsoft.Maui.Controls.ClickGestureRecognizer.NumberOfClicksRequiredProperty -> Microsoft.Maui.Controls.BindableProperty
422+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandParameterProperty -> Microsoft.Maui.Controls.BindableProperty
423+
~static readonly Microsoft.Maui.Controls.CheckBox.CommandProperty -> Microsoft.Maui.Controls.BindableProperty
417424
~static readonly Microsoft.Maui.Controls.ContentPage.SafeAreaEdgesProperty -> Microsoft.Maui.Controls.BindableProperty
418425
~static readonly Microsoft.Maui.Controls.ContentPresenter.CascadeInputTransparentProperty -> Microsoft.Maui.Controls.BindableProperty
419426
~static readonly Microsoft.Maui.Controls.ContentPresenter.PaddingProperty -> Microsoft.Maui.Controls.BindableProperty

0 commit comments

Comments
 (0)