ToggleSplitButton.IsChecked Eigenschaft

Definition

Ruft ab oder legt fest, ob das ToggleSplitButton überprüft wird.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die 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" />

Eigenschaftswert

Boolean

bool

true , wenn der ToggleSplitButton aktiviert ist; false , wenn das ToggleSplitButton deaktiviert ist. Die Standardeinstellung ist false.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyFieldAttribute

Gilt für: