Sets the value of the Theme dependency property for the specified control.

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

Syntax

C#
public static void SetTheme(
	FrameworkElement obj,
	Nullable<Theme> value
)
Visual Basic
Public Shared Sub SetTheme ( 
	obj As FrameworkElement,
	value As Nullable(Of Theme)
)

Parameters

obj
Type: System.Windows..::..FrameworkElement
The control, for which the value of the property is being got.
value
Type: System..::..Nullable<(Of <(<'Theme>)>)>
The new theme type for the specified control.

Exceptions

ExceptionCondition
System..::..ArgumentNullException The parameter obj has a value null.

Contracts

See Also