TabInfo<T> Class
Provides information about a tab available in the Document Viewer.
Declaration
export class TabInfo<T = any> extends BaseRenderingModel<DevExpress.Analytics.Utils.ITabPanelItemViewModel<T>>
Type Parameters
The following properties return the ASPxClientDocumentPreviewTab object:
Properties
active Property
Provides access to the value that specifies whether a tab is active.
Declaration
active: boolean
Property Value
collapsed Property
Declaration
collapsed: boolean
Property Value
disabled Property
Declaration
disabled: boolean
Property Value
imageClassName Property
Declaration
imageClassName: string
Property Value
imageTemplateName Property
Declaration
imageTemplateName: string
Property Value
keyboardHelper Property
Declaration
keyboardHelper: DevExpress.Analytics.Internal.AccessibilityKeyboardHelperBase
Property Value
Type |
AccessibilityKeyboardHelperBase |
model Property
Provides access to a tab model.
Declaration
model: any
Property Value
Type |
Description |
any |
The tab model.
|
name Property
Declaration
name: string
Property Value
template Property
Provides access to the name of an HTML template used by a tab.
Declaration
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
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
visible: boolean
Property Value
Methods
createViewModel Method
Declaration
createViewModel(): DevExpress.Analytics.Utils.ITabPanelItemViewModel<T>
Returns
Type |
ITabPanelItemViewModel<T> |
focus Method
Declaration
focus(): void
onPropertyChanged(args) Method
Declaration
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
updateViewModel(
args: DevExpress.Analytics.Serializer.Native.PropertyChangedEventArgs | DevExpress.Analytics.Serializer.Native.ArrayPropertyChangedEventArgs
): void
Parameters
Name |
Type |
args |
PropertyChangedEventArgs<any> | ArrayPropertyChangedEventArgs<any> |