Class ButtonDefaultsBuilder
Class for ButtonDefaultsBuilder
Inheritance
System.Object
ButtonDefaultsBuilder
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 ButtonDefaultsBuilder
Constructors
ButtonDefaultsBuilder(ButtonDefaults)
Initializes a new instance of the ButtonDefaultsBuilder class.
Declaration
public ButtonDefaultsBuilder(ButtonDefaults buttondefaults)
Parameters
Type | Name | Description |
---|---|---|
ButtonDefaults | buttondefaults | The buttondefaults. |
Methods
CssClass(String)
Sets the root CSS class for Button theme, which is used customize.
Declaration
public ButtonDefaultsBuilder CssClass(string cssClass)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssClass | The CSS class. |
Returns
Type | Description |
---|---|
ButtonDefaultsBuilder | ButtonDefaultsBuilder |
Enabled(Boolean)
Specifies the button control state with boolean argument.
Declaration
public ButtonDefaultsBuilder Enabled(bool enabled)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enabled | If set to |
Returns
Type | Description |
---|---|
ButtonDefaultsBuilder | ButtonDefaultsBuilder |
EnableRTL(Boolean)
Specify the Right to Left direction to button with boolean argument.
Declaration
public ButtonDefaultsBuilder EnableRTL(bool enableRTL)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableRTL | If set to |
Returns
Type | Description |
---|---|
ButtonDefaultsBuilder | ButtonDefaultsBuilder |
Height(String)
Specifies the height of the Button.
Declaration
public ButtonDefaultsBuilder Height(string height)
Parameters
Type | Name | Description |
---|---|---|
System.String | height | The height. |
Returns
Type | Description |
---|---|
ButtonDefaultsBuilder | ButtonDefaultsBuilder |
ShowRoundedCorner(Boolean)
Displays the Button with rounded corners.with boolean argument.
Declaration
public ButtonDefaultsBuilder ShowRoundedCorner(bool showRoundedCorner)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showRoundedCorner | If set to |
Returns
Type | Description |
---|---|
ButtonDefaultsBuilder | ButtonDefaultsBuilder |
Width(String)
Specifies the width of the Button.
Declaration
public ButtonDefaultsBuilder Width(string width)
Parameters
Type | Name | Description |
---|---|---|
System.String | width | The width. |
Returns
Type | Description |
---|---|
ButtonDefaultsBuilder | ButtonDefaultsBuilder |