TabControlEventArgs(TabPage, Int32, TabControlAction) 构造函数

定义

初始化 TabControlEventArgs 类的新实例。

public:
 TabControlEventArgs(System::Windows::Forms::TabPage ^ tabPage, int tabPageIndex, System::Windows::Forms::TabControlAction action);
public TabControlEventArgs (System.Windows.Forms.TabPage tabPage, int tabPageIndex, System.Windows.Forms.TabControlAction action);
public TabControlEventArgs (System.Windows.Forms.TabPage? tabPage, int tabPageIndex, System.Windows.Forms.TabControlAction action);
new System.Windows.Forms.TabControlEventArgs : System.Windows.Forms.TabPage * int * System.Windows.Forms.TabControlAction -> System.Windows.Forms.TabControlEventArgs
Public Sub New (tabPage As TabPage, tabPageIndex As Integer, action As TabControlAction)

参数

tabPage
TabPage

发生的事件所针对的 TabPage

tabPageIndex
Int32

TabPages 集合中的 tabPage 的索引(索引从零开始计算)。

action
TabControlAction

TabControlAction 值之一。

注解

新创建的实例的属性值初始化为指定的参数值。

适用于

另请参阅