Icons(string primaryIconCssClassName)

Sets the primary icon of the button.

Parameters

primaryIconCssClassName The CSS class name of the primary icon.

Icons(string primaryIconCssClassName, bool hideText)

Sets the primary icon of the button.

Parameters

primaryIconCssClassName The CSS class name of the primary icon.
hideText If true, only the icon is visible on the button.

Icons(string primaryIconCssClassName, string secondaryIconCssClassName, bool hideText)

Sets the primary and secondary icons of the button.

Parameters

primaryIconCssClassName The CSS class name of the primary icon.
secondaryIconCssClassName The CSS class name of the secondary icon.
hideText If true, only the icons are visible on the button.

Label(string label)

Sets the label of the button.

Parameters

label The label text.

Disabled(bool disabled)

Sets a value indicating whether the button is disabled.

Parameters

disabled If true, the button is disabled.

OnCreate(string functionName)

Sets the name of the JavaScript function that is triggered when the button is created.

Parameters

functionName The name of the function.