Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TabInfo<T> Class

Provides information about a tab available in the Document Viewer.

#Declaration

TypeScript
export class TabInfo<T = any> extends BaseRenderingModel<DevExpress.Analytics.Utils.ITabPanelItemViewModel<T>>

#Type Parameters

Name
T

#Remarks

The following properties return the ASPxClientDocumentPreviewTab object:

#Properties

#active Property

Provides access to the value that specifies whether a tab is active.

#Declaration

TypeScript
active: boolean

#Property Value

Type
boolean

#collapsed Property

#Declaration

TypeScript
collapsed: boolean

#Property Value

Type
boolean

#disabled Property

#Declaration

TypeScript
disabled: boolean

#Property Value

Type
boolean

#imageClassName Property

#Declaration

TypeScript
imageClassName: string

#Property Value

Type
string

#imageTemplateName Property

#Declaration

TypeScript
imageTemplateName: string

#Property Value

Type
string

#keyboardHelper Property

#Declaration

TypeScript
keyboardHelper: DevExpress.Analytics.Internal.AccessibilityKeyboardHelperBase

#Property Value

Type
AccessibilityKeyboardHelperBase

#model Property

Provides access to a tab model.

#Declaration

TypeScript
model: any

#Property Value

Type Description
any

The tab model.

#name Property

#Declaration

TypeScript
name: string

#Property Value

Type
string

#template Property

Provides access to the name of an HTML template used by a tab.

#Declaration

TypeScript
template: string

#Property Value

Type Description
string

The name of the HTML template used by the tab.

#text Property

Provides access to the tab text.

#Declaration

TypeScript
get text(): string

#Property Value

Type Description
string

The tab text.

#visible Property

Provides access to the value that specifies whether a tab is visible.

#Declaration

TypeScript
visible: boolean

#Property Value

Type
boolean

#Methods

#createViewModel Method

#Declaration

TypeScript
createViewModel(): DevExpress.Analytics.Utils.ITabPanelItemViewModel<T>

#Returns

Type
ITabPanelItemViewModel<T>

#focus Method

#Declaration

TypeScript
focus(): void

#onPropertyChanged(args) Method

#Declaration

TypeScript
onPropertyChanged(
    args: DevExpress.Analytics.Serializer.Native.PropertyChangedEventArgs | DevExpress.Analytics.Serializer.Native.ArrayPropertyChangedEventArgs
): void

#Parameters

Name Type
args PropertyChangedEventArgs<any> | ArrayPropertyChangedEventArgs<any>

#updateViewModel(args) Method

#Declaration

TypeScript
updateViewModel(
    args: DevExpress.Analytics.Serializer.Native.PropertyChangedEventArgs | DevExpress.Analytics.Serializer.Native.ArrayPropertyChangedEventArgs
): void

#Parameters

Name Type
args PropertyChangedEventArgs<any> | ArrayPropertyChangedEventArgs<any>