ToggleSplitButton.IsChecked Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether the ToggleSplitButton is checked.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public:
property bool IsChecked { bool get(); void set(bool value); };
bool IsChecked();
void IsChecked(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField]
bool IsChecked();
void IsChecked(bool value);
public bool IsChecked { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField]
public bool IsChecked { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField] set; }
Public Property IsChecked As Boolean
<ToggleSplitButton IsChecked="bool" />
Property Value
Boolean
bool
true if the ToggleSplitButton is checked; false if the ToggleSplitButton is unchecked. The default is false.
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyFieldAttribute