NavigatingCancelEventArgs.Cancel property

Applies to Windows and Windows Phone

Specifies whether a pending navigation should be canceled.

Syntax


public bool Cancel { get; set; }

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

true to cancel the pending cancelable navigation; false to continue with navigation.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Navigation
Windows::UI::Xaml::Navigation [C++]

Metadata

Windows.winmd

See also

NavigatingCancelEventArgs

 

 

Show:
© 2014 Microsoft