Cancel Method  
 

Cancels the current navigation.

Syntax

object.Cancel

Parameters

None.

Return Value

None.

Remarks

The Cancel method cancels the current navigation. This is typically used inside an event handler, causing the navigation to stop. If the control is not in the process of navigating to a new page at the time that this method is called, it will have no effect. A canceled navigation will fire the NavigationCompleted event.

See Also

Navigate Method, Reset Method, NavigationCompleted Event, NavigationStarting Event