Sets the overall Foreground color, gradient or pattern of the tab when it's selected. The tab is an ItemsControl contained in the Items collection of this viewer.

Namespace: Ico.WPF.Specialized
Assembly: IcoWPFSpecialized (in IcoWPFSpecialized.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public void SetTabSelectionForeground(
	ItemsControl tab,
	Brush brush
)
Visual Basic
Public Sub SetTabSelectionForeground ( _
	tab As ItemsControl, _
	brush As Brush _
)
JScript
public function SetTabSelectionForeground(
	tab : ItemsControl, 
	brush : Brush
)

Parameters

tab
Type: System.Windows.Controls..::..ItemsControl
brush
Type: System.Windows.Media..::..Brush

Remarks

Only tabs created using the method CreateTab()()()() are supported

See Also