[]
        
(Showing Draft Content)

C1.Win.Themes.C1Theme.GetBackground

GetBackground Method

GetBackground(string)

Gets a ThemeBackground value specified by a path.

Declaration
public ThemeBackground GetBackground(string path)
Parameters
Type Name Description
string path

The target path.

Returns
Type Description
ThemeBackground

The background specified by path.

GetBackground(string, ThemeBackground)

Gets a ThemeBackground value specified by a path.

Declaration
public ThemeBackground GetBackground(string path, ThemeBackground defaultValue)
Parameters
Type Name Description
string path

The target path.

ThemeBackground defaultValue

Used if value at specified path does not exist.

Returns
Type Description
ThemeBackground

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