All pages
Powered by GitBook
1 of 1

Loading...

TabControlCancelEventArgs

Wisej.Web.TabControlCancelEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Provides data for the Selecting and Deselecting events of a TabControl control.

public class TabControlCancelEventArgs : CancelEventArgs
Public Class TabControlCancelEventArgs
    Inherits CancelEventArgs

Constructors

TabControlCancelEventArgs(tabPage, tabPageIndex, cancel, action)

Initializes a new instance of the class.

Name
Type
Description

TabControlCancelEventArgs(tabPage, tabPageIndex, newTabPageIndex, cancel, action)

Initializes a new instance of the class.

Name
Type
Description

Properties

Action

: Returns a value indicating which event is occurring.

NewTabPageIndex

: Returns the zero-based index of the being selected when processing otherwise it returns -1.

TabPage

: Returns the the event is occurring for.

TabPageIndex

: Returns the zero-based index of the being selected when processing and , or being deselected when processing and .

Used By

Name
Description

One of the values.

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

action

One of the values.

tabPage

TabPage

The TabPage the event is occurring for.

tabPageIndex

Int32

The zero-based index of tabPage in the TabPages collection.

cancel

Boolean

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

tabPage

TabPage

The TabPage the event is occurring for.

tabPageIndex

Int32

The zero-based index of tabPage in the TabPages collection.

newTabPageIndex

Int32

The zero-based index of tabPage in the TabPages collection.

TabControlCancelEventHandler

Represents the method that will handle the Selecting or Deselecting event of a TabControl control.

TabControlCancelEventArgs
TabControlCancelEventArgs
TabControlAction
Int32
TabPage
Deselecting
TabPage
TabPage
Int32
TabPage
Selecting
Selected
Deselecting
Deselected

action

cancel

TabControlAction
TabControlAction
Boolean
TabControlAction
TabControlAction