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