Returns a value of the accent color for the application.

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


public static SolidColorBrush GetAccentBrush(
	this Application reference
Visual Basic
Public Shared Function GetAccentBrush ( 
	reference As Application
) As SolidColorBrush


Type: System.Windows..::..Application
An instance of the application, whose theme type is needed to get.

Return Value

Type: SolidColorBrush
An accent color for the application.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Application. 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