Class ContentDefaultsBuilder
Class for ContentDefaultsBuilder
Inheritance
System.Object
ContentDefaultsBuilder
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 ContentDefaultsBuilder
Constructors
ContentDefaultsBuilder(DefaultSettings)
Initializes a new instance of the ContentDefaultsBuilder class.
Declaration
public ContentDefaultsBuilder(DefaultSettings defaults)
Parameters
Type | Name | Description |
---|---|---|
DefaultSettings | defaults | The defaults. |
Methods
Height(String)
Specifies the height of ribbon ContentDefaultsBuilder.
Declaration
public ContentDefaultsBuilder Height(string height)
Parameters
Type | Name | Description |
---|---|---|
System.String | height | The height. |
Returns
Type | Description |
---|---|
ContentDefaultsBuilder |
IsBig(Boolean)
Specifies the size for button, split button controls. Set “true” for big size and “false” for small size.
Declaration
public ContentDefaultsBuilder IsBig(bool isbig)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isbig | If set to |
Returns
Type | Description |
---|---|
ContentDefaultsBuilder |
Type(RibbonButtonType)
Specifies the type as “RibbonButtonType.Button” or “RibbonButtonType.SplitButton” or “RibbonButtonType.dropDownList” or “RibbonButtonType.toggleButton” to render button, split, dropdown, toggle button controls.
Declaration
public ContentDefaultsBuilder Type(RibbonButtonType type)
Parameters
Type | Name | Description |
---|---|---|
RibbonButtonType | type | The type. |
Returns
Type | Description |
---|---|
ContentDefaultsBuilder |
Width(String)
Specifies the width to the ribbon control. You can set width in string or number format.
Declaration
public ContentDefaultsBuilder Width(string width)
Parameters
Type | Name | Description |
---|---|---|
System.String | width | The width. |
Returns
Type | Description |
---|---|
ContentDefaultsBuilder |