[]
        
(Showing Draft Content)

C1.Win.Themes.C1ThemeCollection.TryGetValue

TryGetValue Method

TryGetValue(string, out C1Theme)

Retrieves a theme by its name.

Declaration
public bool TryGetValue(string key, out C1Theme theme)
Public Function TryGetValue(key As String, ByRef theme As C1Theme) As Boolean
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.