Class TabChangedEventArgs
- Namespace
- SharpConsoleUI.Events
- Assembly
- SharpConsoleUI.dll
Event args for tab change events (after tab has changed).
public class TabChangedEventArgs : EventArgs
- Inheritance
-
TabChangedEventArgs
- Inherited Members
- Extension Methods
Constructors
TabChangedEventArgs(int, int, TabPage?, TabPage?)
Initializes a new instance of TabChangedEventArgs.
public TabChangedEventArgs(int oldIndex, int newIndex, TabPage? oldTab, TabPage? newTab)
Parameters
Properties
NewIndex
Index of the newly active tab.
public int NewIndex { get; }
Property Value
NewTab
The newly active tab page.
public TabPage? NewTab { get; }
Property Value
OldIndex
Index of the previously active tab.
public int OldIndex { get; }
Property Value
OldTab
The previously active tab page.
public TabPage? OldTab { get; }