Returns the value of the AccentBrush dependency property for the specified control.

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

Syntax

C#
public static SolidColorBrush GetAccentBrush(
	FrameworkElement obj
)
Visual Basic
Public Shared Function GetAccentBrush ( 
	obj As FrameworkElement
) As SolidColorBrush

Parameters

obj
Type: System.Windows..::..FrameworkElement
The control, for which the value of the property is being got.

Return Value

Type: SolidColorBrush
Current accent colour for the specified control in design-time mode.

Exceptions

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

Contracts

See Also