Skip to main content
A newer version of this page is available. .

DiagramColorPalette.GetColorByColorId(DiagramThemeColorId) Method

Gets the color corresponding to the specified ID.

Namespace: DevExpress.Diagram.Core.Themes

Assembly: DevExpress.Diagram.v18.2.Core.dll

Declaration

public Color GetColorByColorId(
    DiagramThemeColorId colorId
)

Parameters

Name Type Description
colorId DevExpress.Diagram.Core.DiagramThemeColorId

A DevExpress.Diagram.Core.DiagramThemeColorId enumeration value.

Returns

Type Description
Color

A System.Drawing.Color object representing the color.

See Also