TabControlCancelEventArgs(TabPage, Int32, Boolean, TabControlAction) Construtor

Definição

Inicializa uma nova instância da TabControlCancelEventArgs classe.

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)

Parâmetros

tabPage
TabPage

O TabPage evento está a decorrer para.

tabPageIndex
Int32

O índice baseado em zero de tabPage na TabPages coleção.

cancel
Boolean

true para cancelar a alteração de tabulação por defeito; caso contrário, false.

action
TabControlAction

Um dos TabControlAction valores.

Observações

Os valores das propriedades da instância recém-criada são inicializados para os valores dos parâmetros especificados.

Aplica-se a

Ver também