Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NTabControl Class / SelectingTab Event


In This Topic
    SelectingTab Event (NTabControl)
    In This Topic
    Occurs before a tab is selected, enabling a handler to cancel a tab change.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.BrowsableAttribute(True)>
    <System.ComponentModel.DescriptionAttribute("Occurs before a tab is selected, enabling a handler to cancel a tab change.")>
    Public Event SelectingTab As System.ComponentModel.CancelEventHandler
    'Usage
     
    
    Dim instance As NTabControl
    Dim handler As System.ComponentModel.CancelEventHandler
     
    AddHandler instance.SelectingTab, handler
    [System.ComponentModel.Browsable(true)]
    [System.ComponentModel.Description("Occurs before a tab is selected, enabling a handler to cancel a tab change.")]
    public event System.ComponentModel.CancelEventHandler SelectingTab
    Event Data

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

    PropertyDescription
     
    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