Version

RegisterGroupings Method

Registers the name of the Theme groupings that should be applied to a type when its Theme property is changed.
Syntax
'Declaration
 
Public Shared Sub RegisterGroupings( _
   ByVal type As Type, _
   ByVal groupings() As String _
) 
public static void RegisterGroupings( 
   Type type,
   string[] groupings
)

Parameters

type
The type for which to register the groupings
groupings
An array of 1 or more strings that represent the groupings which should be added to the element's resources when its Theme property is changed.
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