ASPxClientDashboardItemElementCustomColorEventArgs.SetColor(String) Method
Sets the color of the current dashboard item element.
Namespace: DevExpress.DashboardWeb.Scripts
Assembly: DevExpress.Dashboard.v18.2.Web.WebForms.Scripts.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
color | String | A String that specifies the color of the current dashboard item element. |
Remarks
To specify the required dashboard item element, use the ASPxClientDashboardItemElementCustomColorEventArgs.GetTargetElement and ASPxClientDashboardItemElementCustomColorEventArgs.GetMeasures methods.
This method supports the following colors:
- hexadecimal colors;
- RGB colors;
- RGBA colors (not supported in Internet Explorer 8);
- predefined/cross-browser color names;
- predefined SVG colors (not supported in Internet Explorer 8).
See Also