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

In This Topic
    PanelClosing Event
    In This Topic
    Occurs when the currently selected panel is about to be closed by the user. Allows to cancel closing the panel.
    Syntax
    'Declaration
     
    Public Event PanelClosing As PanelCancelEventHandler
    public event PanelCancelEventHandler PanelClosing
    Event Data

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

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    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