Sets the Icon 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 SetTabIcon(
	ItemsControl tab,
	Object icon
)
Visual Basic
Public Sub SetTabIcon ( _
	tab As ItemsControl, _
	icon As Object _
)
JScript
public function SetTabIcon(
	tab : ItemsControl, 
	icon : Object
)

Parameters

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

Remarks

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

See Also