[]
        
(Showing Draft Content)

C1.Win.Themes.C1Theme.GetBool

GetBool Method

GetBool(string)

Gets a boolean value specified by a path.

Declaration
public bool GetBool(string path)
Parameters
Type Name Description
string path

The target path.

Returns
Type Description
bool

The boolean value specified by path.

GetBool(string, bool)

Gets a boolean value specified by a path.

Declaration
public bool GetBool(string path, bool defaultValue)
Parameters
Type Name Description
string path

The target path.

bool defaultValue

Used if value at specified path does not exist.

Returns
Type Description
bool

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