Themes for WinForms | ComponentOne
C1.Win.Themes.8 Assembly / C1.Win.Themes 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