Sets a theme settings for the whole application.

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

Syntax

C#
public static void Apply(
	this Application application
)
Visual Basic
<ExtensionAttribute> 
Public Shared Sub Apply ( 
	application As Application
)

Parameters

application
Type: System.Windows..::..Application
An instance of the application, whose settings are being set.

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).

Remarks

Calling this method is equal to calling base method "Apply" with the value "null" for the parameters "theme","accentBrush" and "contrastBrush"

Exceptions

ExceptionCondition
System..::..ArgumentNullException Parameter application is null.

Contracts

See Also