Table of Contents

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

currentTab TabPage

the selected tab page; null if no tab page is selected

newTab TabPage

the tab page to be selected

Properties

Cancel

Gets or sets whether the event should be canceled.

public bool Cancel { get; set; }

Property Value

bool

CurrentTab

Gets the current selected Tab.

public TabPage? CurrentTab { get; }

Property Value

TabPage

NewTab

Gets the Tab that is to become current.

public TabPage NewTab { get; }

Property Value

TabPage