TabControlCancelEventArgs(TabPage, Int32, Boolean, TabControlAction) Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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
- 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.