TabControlCancelEventArgs(TabPage, Int32, Boolean, TabControlAction) Constructor
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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
- 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.