TabControlCancelEventArgs(TabPage, Int32, Boolean, TabControlAction) Constructor

Definitie

Initialiseert een nieuw exemplaar van de 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)

Parameters

tabPage
TabPage

De TabPage gebeurtenis vindt plaats voor.

tabPageIndex
Int32

De op nul gebaseerde index van tabPage in de TabPages verzameling.

cancel
Boolean

true om de tabwijziging standaard te annuleren; anders, false.

action
TabControlAction

Een van de TabControlAction waarden.

Opmerkingen

De eigenschapswaarden van het zojuist gemaakte exemplaar worden geïnitialiseerd op de opgegeven parameterwaarden.

Van toepassing op

Zie ook