Class GroupButton
The Group Button helps to display multiple buttons which are stacked together in a single line and used as a navigation component.
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 GroupButton : Control, IHtmlString
Constructors
GroupButton()
Initializes a new instance of the GroupButton class.
Declaration
public GroupButton()
GroupButton(String, GroupButtonProperties)
Initializes a new instance of the GroupButton class by the specified id and the group button properties.
Declaration
public GroupButton(string id, GroupButtonProperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | |
GroupButtonProperties | propModel |
Properties
GroupButtonModel
Gets or sets the group button model object of the group button properties.
Declaration
public GroupButtonProperties GroupButtonModel { get; set; }
Property Value
Type | Description |
---|---|
GroupButtonProperties |
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 group button element as 'ejGroupButton'.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TagName
Gets the tag name of the group button 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 group button control that should not be encoded again.
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 group button 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 group button control.
Declaration
public override void RenderControl(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Overrides
RenderItem(GroupButtonBaseItem)
Declaration
protected string RenderItem(GroupButtonBaseItem pane)
Parameters
Type | Name | Description |
---|---|---|
GroupButtonBaseItem | pane |
Returns
Type | Description |
---|---|
System.String |
RenderItems()
Declaration
protected string RenderItems()
Returns
Type | Description |
---|---|
System.String |
RenderPaneContent(GroupButtonBaseItem, HtmlTag)
Declaration
protected HtmlTag RenderPaneContent(GroupButtonBaseItem pane, HtmlTag PaneDiv)
Parameters
Type | Name | Description |
---|---|---|
GroupButtonBaseItem | pane | |
HtmlTag | PaneDiv |
Returns
Type | Description |
---|---|
HtmlTag |
Implements
System.Web.IHtmlString