ToolboxCategoryAttribute-Konstruktor (String, Boolean)

Initialisiert eine neue Instanz der ToolboxCategoryAttribute-Klasse mit dem angegebenen Kategoriepfad und der Sichtbarkeit der übergeordneten Kategorie.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Sub New ( _
    categoryPath As String, _
    alwaysShows As Boolean _
)
public ToolboxCategoryAttribute(
    string categoryPath,
    bool alwaysShows
)
public:
ToolboxCategoryAttribute(
    String^ categoryPath, 
    bool alwaysShows
)
new : 
        categoryPath:string * 
        alwaysShows:bool -> ToolboxCategoryAttribute
public function ToolboxCategoryAttribute(
    categoryPath : String, 
    alwaysShows : boolean
)

Parameter

  • categoryPath
    Typ: System.String
    Der Pfad, unter dem diese Klasse kategorisiert wird.Stellt mehrere Ebenen mit dem Schrägstrich (/) als Trennzeichen dar.
  • alwaysShows
    Typ: System.Boolean
    true, um anzugeben, ob diese Klasse in allen übergeordneten Kategorien angezeigt wird, andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

ToolboxCategoryAttribute Klasse

ToolboxCategoryAttribute-Überladung

Microsoft.Windows.Design-Namespace

Weitere Ressourcen

WPF-Designer-Erweiterbarkeit