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);
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

L’événement TabPage se produit pour.

tabPageIndex
Int32

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

cancel
Boolean

true pour annuler la modification de l’onglet par défaut ; sinon, false.

action
TabControlAction

Une des TabControlAction valeurs.

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