Class Tab
The Tab control is an interface where list of items are expanded from a single item.
Implements
System.Web.IHtmlString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class Tab : Control, IHtmlString
Constructors
Tab()
Initializes a new instance of the Tab class.
Declaration
public Tab()
Tab(String, TabProperties)
Initializes a new instance of the Tab class.
Declaration
public Tab(string id, TabProperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The identifier |
TabProperties | propModel | The property model |
Properties
Model
Instance of control properties class
Declaration
protected override object Model { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
PluginName
Gets the plugin name of the Tab element as 'ejTab'.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TabModel
Gets or sets the Tab properties to the model.
Declaration
public TabProperties TabModel { get; set; }
Property Value
Type | Description |
---|---|
TabProperties |
TagName
Gets the tag name of the Tab element as 'div'.
Declaration
public override string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
CreateContainer(String)
Represents an HTML-encoded string of the Tab control with directives.
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
CreateUnObtrusiveContainer(String)
Represents an HTML-encoded string of the Tab control with directives.
Declaration
public override HtmlString CreateUnObtrusiveContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
RenderControl(String)
Represents an HTML element of the Tab control.
Declaration
public override void RenderControl(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Overrides
RenderElement(String)
Represents the element rendering.
Declaration
protected HtmlTag RenderElement(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId | The control identifier |
Returns
Type | Description |
---|---|
HtmlTag |
RenderPaneContent(TabBaseItem, HtmlTag)
To renders the tab pane content
Declaration
protected HtmlTag RenderPaneContent(TabBaseItem pane, HtmlTag PaneDiv)
Parameters
Type | Name | Description |
---|---|---|
TabBaseItem | pane | |
HtmlTag | PaneDiv |
Returns
Type | Description |
---|---|
HtmlTag |
RenderPaneHeader(TabBaseItem, HtmlTag)
To renders the pane header
Declaration
protected HtmlTag RenderPaneHeader(TabBaseItem pane, HtmlTag headDiv)
Parameters
Type | Name | Description |
---|---|---|
TabBaseItem | pane | |
HtmlTag | headDiv |
Returns
Type | Description |
---|---|
HtmlTag |
Implements
System.Web.IHtmlString