Version

RegisterControl Method

Registers a control with the ThemeManager.
Syntax
'Declaration
 
Public Shared Sub RegisterControl( _
   ByVal type As Type _
) 
public static void RegisterControl( 
   Type type
)

Parameters

type
Type of the custom control that should be themed.
Remarks
ThemeManager will try to load resources out of the theme assembly for all registered controls. You will want to use this methed to register any custom controls with the theme manager so they could get themed.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also