ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.8 Assembly / C1.Win.C1Command Namespace / NavBarCancelEventArgs Class / NavBarCancelEventArgs Constructor
The new index for the selected panel.
The new selected C1NavBarPanel.
True to cancel the event; otherwise, false.

In This Topic
    NavBarCancelEventArgs Constructor
    In This Topic
    Initializes a new instance of the NavBarCancelEventArgs class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal newSelectedIndex As System.Integer, _
       ByVal newSelectedPanel As C1NavBarPanel, _
       ByVal cancel As System.Boolean _
    )
    public NavBarCancelEventArgs( 
       System.int newSelectedIndex,
       C1NavBarPanel newSelectedPanel,
       System.bool cancel
    )

    Parameters

    newSelectedIndex
    The new index for the selected panel.
    newSelectedPanel
    The new selected C1NavBarPanel.
    cancel
    True to cancel the event; otherwise, false.
    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