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

Die TabPage, für die das Ereignis eintritt.

tabPageIndex
Int32

Der nullbasierte Index der tabPage in der TabPages-Auflistung.

cancel
Boolean

true, um als Standardeinstellung den Wechsel der Registerkarte 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

Siehe auch