TabControlCancelEventArgs(TabPage, Int32, Boolean, TabControlAction) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TabControlCancelEventArgs class.
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
to cancel the tab change by default; otherwise, false
.
- action
- TabControlAction
One of the TabControlAction values.
Remarks
The property values of the newly created instance are initialized to the specified parameter values.
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา