'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")> Event Navigating As NavigatingEventHandler
'Usage
Dim instance As IWebControl Dim handler As NavigatingEventHandler AddHandler instance.Navigating, handler
[SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")] event NavigatingEventHandler Navigating
Event Data
The event handler receives an argument of type NavigatingEventArgs containing data related to this event. The following NavigatingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Cancel property to indicate whether the user wants to cancel the navigation. Set Cancel property to true to cancel the navigation. |
TargetFrameName | The target frame in which the new Web page is displayed. |
Url | The URL to which the WebCOntrol is navigating. |
See Also