Retunrs such a theme type, which is actual for the control.

Namespace: Elysium
Assembly: Elysium (in Elysium.dll) Version: 2.0.1042.4 (2.0.1042.4)


public static Theme GetTheme(
	this FrameworkElement reference
Visual Basic
Public Shared Function GetTheme ( 
	reference As FrameworkElement
) As Theme


Type: System.Windows..::..FrameworkElement
A control, whose theme type is needed to get.

Return Value

Type: Theme
A theme type for the control.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FrameworkElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also