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.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ToggleSplitButton.IsChecked (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);
public bool IsChecked { get; set; }
var boolean = toggleSplitButton.isChecked;
toggleSplitButton.isChecked = boolean;
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.