Sets 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 void SetIndicatorBrush(
	DependencyObject obj,
	SolidColorBrush value
)
Visual Basic
Public Shared Sub SetIndicatorBrush ( 
	obj As DependencyObject,
	value As SolidColorBrush
)

Parameters

obj
Type: System.Windows..::..DependencyObject
The control, for which the value of the property is being set.
value
Type: System.Windows.Media..::..SolidColorBrush
A brush, used for filling the current tab indicator.

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