Provides the affected panel, its position, and action for a cancelable tab-panel notification.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class TabStripPanelCancelEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsTabStripPanelCancelEventArgs
Inherited Members
Constructors
Initializes event data for an action on a tab panel. The cancel argument is not copied to the inherited Cancel property.
C#
public TabStripPanelCancelEventArgs(TabPanel tabPanel, int tabPanelIndex, bool cancel, TabControlAction action)
The panel involved in the action.
tabPanelIndexintThe panel's index in its tab strip.
cancelboolA requested initial cancel state; this argument is currently ignored.
actionTabControlActionThe tab-control action being reported.
Properties
Gets the tab-control action associated with the notification.
C#
public TabControlAction Action { get; }
Gets the panel's index in the tab strip when the notification was created.
C#
public int TabPanelIndex { get; }