NavigationViewItem.SelectsOnInvoked Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob ein Navigationsmenüelement auch ausgewählt wird.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe Windows App SDK Namespaces).

public:
 property bool SelectsOnInvoked { bool get(); void set(bool value); };
bool SelectsOnInvoked();

void SelectsOnInvoked(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool SelectsOnInvoked();

void SelectsOnInvoked(bool value);
public bool SelectsOnInvoked { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool SelectsOnInvoked { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
Public Property SelectsOnInvoked As Boolean

Eigenschaftswert

Boolean

bool

true , wenn ein Navigationsmenüelement auch aufgerufen wird; andernfalls "false". Der Standardwert ist true.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für: