ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.8 Assembly / C1.Win.C1Command Namespace / C1NavBar Class / SelectedPanelChanging Event

In This Topic
    SelectedPanelChanging Event
    In This Topic
    Occurs when the currently selected panel is about to be changed. Allows to cancel changing the panel.
    Syntax
    'Declaration
     
    Public Event SelectedPanelChanging As NavBarCancelEventHandler
    public event NavBarCancelEventHandler SelectedPanelChanging
    Event Data

    The event handler receives an argument of type NavBarCancelEventArgs containing data related to this event. The following NavBarCancelEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    The new index for the selected panel.  
    The new selected C1NavBarPanel.  
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also