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)
Syntax
'Declaration
Public Sub New ( _
imageSource As ImageSource, _
headerText As String, _
content As FrameworkElement, _
headerBrush As Brush _
)
'Usage
Dim imageSource As ImageSource
Dim headerText As String
Dim content As FrameworkElement
Dim headerBrush As Brush
Dim instance As New TaskTabItemDescriptor(imageSource, _
headerText, content, headerBrush)
public TaskTabItemDescriptor(
ImageSource imageSource,
string headerText,
FrameworkElement content,
Brush headerBrush
)
public:
TaskTabItemDescriptor(
ImageSource^ imageSource,
String^ headerText,
FrameworkElement^ content,
Brush^ headerBrush
)
new :
imageSource:ImageSource *
headerText:string *
content:FrameworkElement *
headerBrush:Brush -> TaskTabItemDescriptor
public function TaskTabItemDescriptor(
imageSource : ImageSource,
headerText : String,
content : FrameworkElement,
headerBrush : Brush
)
Parameters
imageSource
Type: System.Windows.Media.ImageSourceThe image to be displayed on top of the tab (optional, null for no image).
headerText
Type: System.StringA text to be displayed on top of the tab.
content
Type: System.Windows.FrameworkElementThe content element to be displayed in the task tab.
headerBrush
Type: System.Windows.Media.BrushThe brush used to paint a strip on top of the tab.