Themes for WinForms | ComponentOne
C1.Win.C1Themes.4.5.2 Assembly / C1.Win.C1Themes Namespace / C1ThemeController Class / UnregisterTheme Method
The name of the theme to unregister.

In This Topic
    UnregisterTheme Method (C1ThemeController)
    In This Topic
    Unregisters the theme with a specified name.

    This method does nothing if a matching theme could not be found.

    An exception is thrown if the specified theme is currently in use.

    Syntax
    'Declaration
     
    Public Shared Sub UnregisterTheme( _
       ByVal themeName As System.String _
    ) 
    public static void UnregisterTheme( 
       System.string themeName
    )

    Parameters

    themeName
    The name of the theme to unregister.
    See Also