Share via


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

  • headerText
    Type: System.String

    A text to be displayed on top of the tab.

See Also

Reference

TaskTabItemDescriptor Class

Microsoft.WebMatrix.Extensibility Namespace