TaskTabItemDescriptor Constructor

Applies to v2.

Initializes a new instance of the TaskTabItemDescriptor class.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

public TaskTabItemDescriptor(
	ImageSource imageSource,
	string headerText,
	FrameworkElement content,
	Brush headerBrush
)

Parameters

imageSource
Type: System.Windows.Media.ImageSource

The image to be displayed on top of the tab (optional, null for no image).

headerText
Type: System.String

A text to be displayed on top of the tab.

content
Type: System.Windows.FrameworkElement

The content element to be displayed in the task tab.

headerBrush
Type: System.Windows.Media.Brush

The brush used to paint a strip on top of the tab.

Show: