TabInfo<T> Class
In This Article
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 |
---|
Accessibility |
#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 |
---|
ITab |
#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 | Property |
#updateViewModel(args) Method
#Declaration
TypeScript
updateViewModel(
args: DevExpress.Analytics.Serializer.Native.PropertyChangedEventArgs | DevExpress.Analytics.Serializer.Native.ArrayPropertyChangedEventArgs
): void
#Parameters
Name | Type |
---|---|
args | Property |