[]
        
(Showing Draft Content)

C1.Win.Themes.C1Theme.GetColor

GetColor Method

GetColor(string)

Gets a Color value specified by a path.

Declaration
public Color GetColor(string path)
Parameters
Type Name Description
string path

The target path.

Returns
Type Description
Color

The color specified by path.

GetColor(string, Color)

Gets a Color value specified by a path.

Declaration
public Color GetColor(string path, Color defaultValue)
Parameters
Type Name Description
string path

The target path.

Color defaultValue

Used if value at specified path does not exist.

Returns
Type Description
Color

The color specified by path or if value at specified path does not exist.