New to Telerik UI for WinForms? Start a free 30-day trial

Provides the panel, its index, and the action associated with a tab-panel notification.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TabStripPanelEventArgs : EventArgs

Inheritance: objectEventArgsTabStripPanelEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes event data for an action on a tab panel.

C#
public TabStripPanelEventArgs(TabPanel tabPanel, int tabPanelIndex, TabControlAction action)
Parameters:tabPanelTabPanel

The panel involved in the action.

tabPanelIndexint

The panel's index in its tab strip.

actionTabControlAction

The tab-control action being reported.

Properties

Gets the tab-control action associated with the notification.

C#
public TabControlAction Action { get; }

Gets the panel involved in the action.

C#
public TabPanel TabPanel { get; }

Gets the panel's index in the tab strip when the notification was created.

C#
public int TabPanelIndex { get; }