ToggleSplitButton.IsChecked 속성

정의

ToggleSplitButton이 선택되어 있는지 여부를 가져오거나 설정합니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(Windows 앱 SDKWinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

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" />

속성 값

Boolean

bool

ToggleSplitButton이 선택되어 있으면 true이고, ToggleSplitButton을 선택 취소하면 false입니다. 기본값은 false입니다.

특성
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyFieldAttribute

적용 대상