[]
        
(Showing Draft Content)

C1.Win.Themes.C1ThemeController.GetTheme

GetTheme Method

GetTheme(object)

Gets the name of a theme set on an object by this theme controller.

Declaration
[C1Category("Themes")]
[C1Description("C1ThemeController.ControlTheme", "Specifies the name of the theme applied to the control.")]
public string GetTheme(object control)
Parameters
Type Name Description
object control

The object to get the theme name for.

Returns
Type Description
string

The name of the theme set on the object. The "(none)" string is returned if no theme was set on the object.