Reflection .NET API
Attachmate.Reflection Assembly / Attachmate.Reflection.Web.Msie Namespace / IWebControl Interface / Navigating Event


In This Topic
    Navigating Event
    In This Topic
    Occurs immediately before navigation to a new page.
    Syntax
    '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.

    PropertyDescription
    Cancel property to indicate whether the user wants to cancel the navigation. Set Cancel property to true to cancel the navigation.  
    The target frame in which the new Web page is displayed.  
    The URL to which the WebCOntrol is navigating.  
    See Also