Table of Contents

Constructor TabControlCancelEventArgs

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

TabControlCancelEventArgs(TabPage, int, bool, TabControlAction)

Initializes a new instance of the TabControlCancelEventArgs class.

public TabControlCancelEventArgs(TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action)

Parameters

tabPage TabPage

The TabPage the event is occurring for.

tabPageIndex int

The zero-based index of tabPage in the tab pages collection.

cancel bool

true to cancel the tab change by default; otherwise, false.

action TabControlAction

One of the TabControlAction values.