[]
        
(Showing Draft Content)

C1.Win.C1Themes.C1ThemeCollection.TryGetValue

TryGetValue Method

TryGetValue(string, out C1Theme)

Retrieves a theme by its name.

Declaration
public bool TryGetValue(string key, out C1Theme theme)
Parameters
Type Name Description
string key

The name of the theme to get.

C1Theme theme

OUT: the theme with the specified name, or null if none could be found.

Returns
Type Description
bool

True if the theme was found, false otherwise.