Sets the Header attached property to a tab. 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 SetTabHeader(
	ItemsControl tab,
	Object header
)
Visual Basic
Public Sub SetTabHeader ( _
	tab As ItemsControl, _
	header As Object _
)
JScript
public function SetTabHeader(
	tab : ItemsControl, 
	header : Object
)

Parameters

tab
Type: System.Windows.Controls..::..ItemsControl
header
Type: System..::..Object

Remarks

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

See Also