TabControlCancelEventArgs
Wisej.Web.TabControlCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the Selecting and Deselecting events of a TabControl control.
Constructors
TabControlCancelEventArgs(tabPage, tabPageIndex, cancel, action)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2647619304-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FHOivImCoV8KSJbQyp6QI%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=d2776d01&sv=1)
Initializes a new instance of the TabControlCancelEventArgs class.
Name | Type | Description |
---|---|---|
tabPage | The TabPage the event is occurring for. | |
tabPageIndex | The zero-based index of tabPage in the TabPages collection. | |
cancel | true to cancel the tab change by default; otherwise, false. | |
action | One of the TabControlAction values. |
TabControlCancelEventArgs(tabPage, tabPageIndex, newTabPageIndex, cancel, action)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2647619304-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FHOivImCoV8KSJbQyp6QI%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=d2776d01&sv=1)
Initializes a new instance of the TabControlCancelEventArgs class.
Name | Type | Description |
---|---|---|
tabPage | The TabPage the event is occurring for. | |
tabPageIndex | The zero-based index of tabPage in the TabPages collection. | |
newTabPageIndex | The zero-based index of tabPage in the TabPages collection. | |
cancel | true to cancel the tab change by default; otherwise, false. | |
action | One of the TabControlAction values. |
Properties
Action
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2647619304-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FHOivImCoV8KSJbQyp6QI%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=d2776d01&sv=1)
TabControlAction: Returns a value indicating which event is occurring.
NewTabPageIndex
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2647619304-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FHOivImCoV8KSJbQyp6QI%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=d2776d01&sv=1)
Int32: Returns the zero-based index of the TabPage being selected when processing Deselecting otherwise it returns -1.
TabPage
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2647619304-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FHOivImCoV8KSJbQyp6QI%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=d2776d01&sv=1)
TabPage: Returns the TabPage the event is occurring for.
TabPageIndex
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2647619304-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FHOivImCoV8KSJbQyp6QI%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=d2776d01&sv=1)
Int32: Returns the zero-based index of the TabPage being selected when processing Selecting and Selected, or being deselected when processing Deselecting and Deselected.
Used By
Name | Description |
---|---|
Represents the method that will handle the Selecting or Deselecting event of a TabControl control. |
Last updated