語言

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

集合中 tabPage 的TabPages零基索引。

action
TabControlAction

這是其中一項 TabControlAction 價值。

備註

新建立實例的屬性值會被初始化為指定的參數值。

適用於

另請參閱