Themes for WinForms | ComponentOne
C1.Win.C1Themes.4.5.2 Assembly / C1.Win.C1Themes Namespace / C1ThemeController Class / OnObjectThemeChanging Method
The object on which the theme is going to be changed.
The name of the theme that will be applied to obj.

In This Topic
    OnObjectThemeChanging Method (C1ThemeController)
    In This Topic
    Fires the ObjectThemeChanging event.
    Syntax
    'Declaration
     
    Protected Overridable Sub OnObjectThemeChanging( _
       ByVal obj As System.Object, _
       ByVal themeName As System.String _
    ) 
    protected virtual void OnObjectThemeChanging( 
       System.object obj,
       System.string themeName
    )

    Parameters

    obj
    The object on which the theme is going to be changed.
    themeName
    The name of the theme that will be applied to obj.
    See Also