[]
        
(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)
Public Function GetBackground(path As String) As ThemeBackground
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)
Public Function GetBackground(path As String, defaultValue As ThemeBackground) As ThemeBackground
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.