Class SplitButton
The Split button allows you to perform an action using clicking the button and choosing extra options from the dropdown button. The Split button also can display both text and images.
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 SplitButton : Control, IHtmlString
Constructors
SplitButton()
Initializes a new instance of the SplitButton class.
Declaration
public SplitButton()
SplitButton(String, SplitButtonProperties)
Initializes a new instance of the SplitButton class by the specified id and the split button properties.
Declaration
public SplitButton(string id, SplitButtonProperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | |
SplitButtonProperties | propModel |
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 split button element as 'ejSplitButton'.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
SplitButtonModel
Gets or sets a value indicating the split button model of the split button properties.
Declaration
public SplitButtonProperties SplitButtonModel { get; set; }
Property Value
Type | Description |
---|---|
SplitButtonProperties |
TagName
Gets the tag name of the split button element as 'button'.
Declaration
public override string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
CreateContainer(String)
Represents an HTML-encoded string of the split 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
RenderControl(String)
Represents an HTML element of the split button control.
Declaration
public override void RenderControl(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Overrides
Implements
System.Web.IHtmlString