Table of Contents

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

oldIndex int
newIndex int
oldTab TabPage
newTab TabPage

Properties

NewIndex

Index of the newly active tab.

public int NewIndex { get; }

Property Value

int

NewTab

The newly active tab page.

public TabPage? NewTab { get; }

Property Value

TabPage

OldIndex

Index of the previously active tab.

public int OldIndex { get; }

Property Value

int

OldTab

The previously active tab page.

public TabPage? OldTab { get; }

Property Value

TabPage