Returns the value of the IndicatorBrush 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 GetIndicatorBrush(
	DependencyObject obj
)
Visual Basic
Public Shared Function GetIndicatorBrush ( 
	obj As DependencyObject
) As SolidColorBrush

Parameters

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

Return Value

Type: SolidColorBrush
A brush, used for filling current tab.

Exceptions

ExceptionCondition
System..::..ArgumentNullException The parameter obj has a value null.
System..::..ArgumentException The parameter obj is not any from the listed below types: TabControl, TabItem.

Contracts

Requires
obj != null
(obj is TabControl) || (obj is TabItem)

See Also