Class TabPageChangeEventArgs
- Namespace
- ExControls
- Assembly
- ExControls.dll
Event arguments for the SelectedIndexChanging event.
public class TabPageChangeEventArgs : EventArgs
- Inheritance
-
TabPageChangeEventArgs
- Inherited Members
Constructors
TabPageChangeEventArgs(TabPage?, TabPage)
Initializes a new instance of the TabPageChangeEventArgs class.
public TabPageChangeEventArgs(TabPage? currentTab, TabPage newTab)
Parameters
currentTabTabPagethe selected tab page; null if no tab page is selected
newTabTabPagethe tab page to be selected
Properties
Cancel
Gets or sets whether the event should be canceled.
public bool Cancel { get; set; }
Property Value
CurrentTab
Gets the current selected Tab.
public TabPage? CurrentTab { get; }
Property Value
NewTab
Gets the Tab that is to become current.
public TabPage NewTab { get; }