次の方法で共有


TaskTabItemDescriptor コンストラクター

v2 に適用されます。

TaskTabItemDescriptor クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.WebMatrix.Extensibility
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
Public Sub New ( _
    imageSource As ImageSource, _
    headerText As String, _
    content As FrameworkElement, _
    headerBrush As Brush _
)
'使用
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
)

パラメーター

  • headerText
    型: System.String

    タブの上部に表示されるテキスト

  • headerBrush
    型: System.Windows.Media.Brush

    タブの上部のストリップをペイントするために使用するブラシ。

関連項目

参照

TaskTabItemDescriptor クラス

Microsoft.WebMatrix.Extensibility 名前空間