TabControlCancelEventArgs(TabPage, Int32, Boolean, TabControlAction) Konstruktor

Definition

Initialisiert eine neue Instanz der TabControlCancelEventArgs-Klasse.

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

Parameter

tabPage
TabPage

Das TabPage Ereignis tritt auf.

tabPageIndex
Int32

Der nullbasierte Index der tabPageTabPages Auflistung.

cancel
Boolean

trueum die Registerkartenänderung standardmäßig abzubrechen; andernfalls . false

action
TabControlAction

Einer der TabControlAction Werte.

Hinweise

Die Eigenschaftswerte der neu erstellten Instanz werden mit den angegebenen Parameterwerten initialisiert.

Gilt für:

Weitere Informationen