TabControlCancelEventArgs(TabPage, Int32, Boolean, TabControlAction) Constructeur

Définition

Initialise une nouvelle instance de la classe TabControlCancelEventArgs.

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)

Paramètres

tabPage
TabPage

TabPage pour lequel l'événement se produit.

tabPageIndex
Int32

Index de base zéro de tabPage dans la collection TabPages.

cancel
Boolean

true pour annuler le changement d'onglet par défaut ; sinon, false.

action
TabControlAction

Une des valeurs de l'objet TabControlAction.

Remarques

Les valeurs de propriété de l’instance nouvellement créée sont initialisées aux valeurs de paramètre spécifiées.

S’applique à

Voir aussi