Themes for WinForms | ComponentOne
C1.Win.C1Themes.4.5.2 Assembly / C1.Win.C1Themes Namespace / C1ThemeController Class / GetTheme Method
The object to get the theme name for.

In This Topic
    GetTheme Method (C1ThemeController)
    In This Topic
    Gets the name of a theme set on an object by this theme controller.
    Syntax
    'Declaration
     
    Public Function GetTheme( _
       ByVal control As System.Object _
    ) As System.String
    public System.string GetTheme( 
       System.object control
    )

    Parameters

    control
    The object to get the theme name for.

    Return Value

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