'Declaration
<SuppressMessageAttribute(Category="Microsoft.Design", CheckId="CA1009:DeclareEventHandlersCorrectly", Scope="", Target="", MessageId="", Justification="")> Event Navigating As NavigatingEventHandler
'Usage
Dim instance As IWebControl Dim handler As NavigatingEventHandler AddHandler instance.Navigating, handler
[SuppressMessage(Category="Microsoft.Design", CheckId="CA1009:DeclareEventHandlersCorrectly", Scope="", Target="", MessageId="", Justification="")] 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