| Visual Basic (Declaration) | |
|---|---|
Public Shadows Event Navigating As NavigatingCancelEventHandler  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As UXFrame Dim handler As NavigatingCancelEventHandler AddHandler instance.Navigating, handler  | |
| C# | |
|---|---|
public new event NavigatingCancelEventHandler Navigating  | |
| Delphi | |
|---|---|
public event Navigating: NavigatingCancelEventHandler;  | |
| JScript | |
|---|---|
In JScript, you can handle the events defined by another class, but you cannot define your own.  | |
| Managed Extensions for C++ | |
|---|---|
public: new __event NavigatingCancelEventHandler* Navigating  | |
| C++/CLI | |
|---|---|
public: new event NavigatingCancelEventHandler^ Navigating  | |
The event handler receives an argument of type NavigatingCancelEventArgs containing data related to this event. The following NavigatingCancelEventArgs properties provide information specific to this event.
| Property | Description | 
|---|---|
| BaseEventArgs | Gets the original NavigatingCancelEventArgs raised by native navigation system. | 
| Cancel | Gets or sets a value indicating whether the event should be canceled. | 
| Content | Gets a reference to the content object that is being navigated to. | 
| ExtraData | Gets the optional data Object that was passed when navigation started. | 
| FragmentNavigationDirection | Gets the navigation direction of the current navigated fragment. | 
| Handled (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| HandledBy (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| IsHandledByPrimitive (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| NavigationMode | Gets a NavigationMode value that indicates the type of navigation that is occurring. | 
| OriginalSource (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| RoutedEvent (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| Source (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| Uri | Gets the uniform resource identifier (URI) for the content being navigated to. | 
| UserNavigationDirection | Gets or sets the navigation direction that initiated by users. | 
Occurs when a new navigation is requested. Can be used to cancel the navigation.
            Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family