Class RibbonButtonSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RibbonButtonSettingsBuilder
Assembly: Syncfusion.EJ2.dll
public class RibbonButtonSettingsBuilder : ControlBuilder
Constructors
Declaration
public RibbonButtonSettingsBuilder()
Declaration
public RibbonButtonSettingsBuilder(RibbonButtonSettings model)
Parameters
Methods
Event triggers when the button is clicked.
Declaration
public RibbonButtonSettingsBuilder Clicked(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Content(String)
Defines the content for the button.
Declaration
public RibbonButtonSettingsBuilder Content(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Event triggers once the button is created.
Declaration
public RibbonButtonSettingsBuilder Created(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Defines one or more CSS classes to customize the appearance of button.
Declaration
public RibbonButtonSettingsBuilder CssClass(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Specifies additional HTML attributes to be applied to the button.
Declaration
public RibbonButtonSettingsBuilder HtmlAttributes(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Defines the CSS class for the icons to be shown in button.
Declaration
public RibbonButtonSettingsBuilder IconCss(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Defines whether the button is primary button or not.
Declaration
public RibbonButtonSettingsBuilder IsPrimary(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Defines whether the button is toggle button or not.
Declaration
public RibbonButtonSettingsBuilder IsToggle(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns