NavigationViewPaneClosingEventArgs.Cancel Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob das Ereignis abgebrochen werden soll, oder legt diesen fest.

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 Cancel { bool get(); void set(bool value); };
bool Cancel();

void Cancel(bool value);
public bool Cancel { get; set; }
Public Property Cancel As Boolean

Eigenschaftswert

Boolean

bool

true zum Abbrechen des Ereignisses; andernfalls false. Die Standardeinstellung ist false.

Gilt für: