Class DxGridButton
Inheritance
Namespace: Emby.Web.GenericEdit.Elements.DxGrid
Assembly: Emby.Web.GenericEdit.dll
Syntax
public class DxGridButton
Properties
cssClass
Specifies a CSS class to be applied to the button.
Declaration
public string cssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The CSS class. |
hint
Specifies the text for the hint that appears when the button is hovered over or long-pressed.
Declaration
public string hint { get; set; }
Property Value
Type | Description |
---|---|
System.String | The hint. |
icon
Specifies the button's icon.
Declaration
public string icon { get; set; }
Property Value
Type | Description |
---|---|
System.String | The icon. |
Remarks
This option accepts one of the following:
The icon's URL The icon's name if the icon is from the DevExtreme icon library The icon's CSS class if the icon is from an external icon library (see External Icon Libraries) The icon in the Base64 format The icon in the SVG format. Ensure that the source is reliable.
name
The name used to identify a built-in button.
Declaration
public string name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Remarks
To configure a built-in button, assign its name to this option.
onClick
A function that is executed when the button is clicked or tapped. Not executed if a template is used.
Declaration
public string onClick { get; set; }
Property Value
Type | Description |
---|---|
System.String | The on click. |
template
Specifies a custom button template.
Declaration
public string template { get; set; }
Property Value
Type | Description |
---|---|
System.String | The template. |
text
Specifies the button's text. Applies only if the button's icon is not specified.
Declaration
public string text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text. |
visible
Specifies the button's visibility.
Declaration
public bool? visible { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | The visible. |