Class TabProperties
Represents Accordion UI element.
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class TabProperties : EJTagHelper
Constructors
TabProperties()
Initializes a new instance of the TabProperties class.
Declaration
public TabProperties()
Properties
AjaxBeforeLoad
Occurs before ajax content has been loaded.
Declaration
[JsonProperty("ajaxBeforeLoad")]
public string AjaxBeforeLoad { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ajax before load. |
AjaxError
Occurs if error occurs in Ajax request.
Declaration
[JsonProperty("ajaxError")]
public string AjaxError { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ajax error. |
AjaxLoad
Occurs after ajax content load action.
Declaration
[JsonProperty("ajaxLoad")]
public string AjaxLoad { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ajax load. |
AjaxSettings
Gets or sets the ajaxSettings option to load the content to the Tab control.
Declaration
[JsonProperty("ajaxSettings")]
public object AjaxSettings { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The ajax settings. |
AjaxSuccess
Occurs after a tab item activated.
Declaration
[JsonProperty("ajaxSuccess")]
public string AjaxSuccess { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ajax success. |
AllowKeyboardNavigation
Gets or sets the allow keyboard navigation.
Declaration
[JsonProperty("allowKeyboardNavigation")]
public bool AllowKeyboardNavigation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
BeforeActive
Occurs before a tab item activated.
Declaration
[JsonProperty("beforeActive")]
public string BeforeActive { get; set; }
Property Value
Type | Description |
---|---|
System.String | The before active. |
BeforeItemRemove
Occurs before a tab item remove.
Declaration
[JsonProperty("beforeItemRemove")]
public string BeforeItemRemove { get; set; }
Property Value
Type | Description |
---|---|
System.String | The before item remove. |
Collapsible
Gets or sets the collapsible.
Declaration
[JsonProperty("collapsible")]
public bool Collapsible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Create
Occurs before a tab item Create.
Declaration
[JsonProperty("create")]
public string Create { get; set; }
Property Value
Type | Description |
---|---|
System.String | The create. |
CssClass
Gets or sets the css class.
Declaration
[JsonProperty("cssClass")]
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The css class. |
Destroy
Occurs before a tab item destroy.
Declaration
[JsonProperty("destroy")]
public string Destroy { get; set; }
Property Value
Type | Description |
---|---|
System.String | The destroy. |
DisabledItemIndex
Gets or sets the given tab headers and content panels.
Declaration
[JsonProperty("disabledItemIndex")]
public List<int> DisabledItemIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> | The disabled item index. |
EmptyDataText
Gets or sets the empty data text.
Declaration
public string EmptyDataText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The empty data text. |
EnableAnimation
Gets or sets the animation behavior of the tab.
Declaration
[JsonProperty("enableAnimation")]
public bool EnableAnimation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Enabled
Gets or sets the enabled.
Declaration
[JsonProperty("enabled")]
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The enabled. |
EnabledItemIndex
Declaration
[JsonProperty("enabledItemIndex")]
public List<int> EnabledItemIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> |
EnablePersistence
Gets or sets enable persistence.
Declaration
[JsonProperty("enablePersistence")]
public bool EnablePersistence { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableRTL
Gets or sets the Right to Left direction for headers and panels text of tab.
Declaration
[JsonProperty("enableRTL")]
public bool EnableRTL { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableTabScroll
Gets or sets the enable tab scroll.
Declaration
[JsonProperty("enableTabScroll")]
public bool EnableTabScroll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Events
Gets or sets the event API to bind the action for active the tab items.
Declaration
[JsonProperty("events")]
public string Events { get; set; }
Property Value
Type | Description |
---|---|
System.String | The events. |
HeaderPosition
Gets or sets the position of Tab header as top, bottom, left or right.
Declaration
[JsonProperty("headerPosition")]
[JsonConverter(typeof(StringEnumConverter))]
public HeaderPosition HeaderPosition { get; set; }
Property Value
Type | Description |
---|---|
HeaderPosition | The header position. |
HeaderSize
Gets or sets the height of the tab header element.
Declaration
[JsonProperty("headerSize")]
public string HeaderSize { get; set; }
Property Value
Type | Description |
---|---|
System.String | The header size. |
Height
Gets or sets the height.
Declaration
[JsonProperty("height")]
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | The height. |
HeightAdjustMode
Gets or sets the content panel height for given option (content, auto and fill), by default panels height adjust based on the content.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("heightAdjustMode")]
public HeightAdjustMode HeightAdjustMode { get; set; }
Property Value
Type | Description |
---|---|
HeightAdjustMode | The height adjust mode. |
HiddenItemIndex
Gets or sets the hidden item index.
Declaration
[JsonProperty("hiddenItemIndex")]
public List<int> HiddenItemIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> | The hidden item index. |
HtmlAttributes
Gets or sets the html attributes.
Declaration
[JsonProperty("htmlAttributes")]
public IDictionary<string, object> HtmlAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | The HTML attributes. |
IdPrefix
Gets or sets the idPrefix.
Declaration
[JsonProperty("idPrefix")]
public string IdPrefix { get; set; }
Property Value
Type | Description |
---|---|
System.String | The id prefix. |
ItemActive
Occurs after a tab item activated
Declaration
[JsonProperty("itemActive")]
public string ItemActive { get; set; }
Property Value
Type | Description |
---|---|
System.String | The item active. |
ItemAdd
Occurs after new tab item add.
Declaration
[JsonProperty("itemAdd")]
public string ItemAdd { get; set; }
Property Value
Type | Description |
---|---|
System.String | The item add. |
ItemRemove
Occurs after tab item removed.
Declaration
[JsonProperty("itemRemove")]
public string ItemRemove { get; set; }
Property Value
Type | Description |
---|---|
System.String | The item remove. |
Items
Gets or sets the tab items.
Declaration
[JsonIgnore]
public List<TabBaseItem> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<TabBaseItem> | The items. |
SelectedItemIndex
Gets or sets the selected item index.
Declaration
[JsonProperty("selectedItemIndex")]
public int SelectedItemIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
|
ShowCloseButton
Gets or sets the close button for each tab items.
Declaration
[JsonProperty("showCloseButton")]
public bool ShowCloseButton { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShowReloadIcon
Gets or sets the reload button for each tab items.
Declaration
[JsonProperty("showReloadIcon")]
public bool ShowReloadIcon { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShowRoundedCorner
Gets or sets the tab panels and headers to be displayed in rounded corner style.
Declaration
[JsonProperty("showRoundedCorner")]
public bool ShowRoundedCorner { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Width
Gets or sets the width.
Declaration
[JsonProperty("width")]
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The width. |
Methods
GetControlDetails()
Declaration
protected override object GetControlDetails()
Returns
Type | Description |
---|---|
System.Object |
Overrides
ShouldSerializeAjaxSettings()
ShouldSerialize Method for AjaxSettings.
Declaration
public bool ShouldSerializeAjaxSettings()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeDisabledItems()
ShouldSerialize Method for DisabledItems.
Declaration
public bool ShouldSerializeDisabledItems()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeEnabledItems()
ShouldSerialize Method for EnabledItems.
Declaration
public bool ShouldSerializeEnabledItems()
Returns
Type | Description |
---|---|
System.Boolean |