CreationTool.CreationType-Eigenschaft

Ruft den Typ des Objekts ab, das von diesem Tool erstellt werden soll, oder legt diesen Typ fest.

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

Syntax

'Declaration
Public Property CreationType As Type
    Get
    Set
public Type CreationType { get; set; }
public:
property Type^ CreationType {
    Type^ get ();
    void set (Type^ value);
}
member CreationType : Type with get, set
function get CreationType () : Type
function set CreationType (value : Type)

Eigenschaftswert

Typ: System.Type
Ein Type-Objekt, das den Objekttyp darstellt, den dieses Tool erstellen soll.Wenn dieses Tool z. B. eine Schaltfläche erstellen soll, sollte diese Eigenschaft typeof(Button) sein.

.NET Framework-Sicherheit

Siehe auch

Referenz

CreationTool Klasse

Microsoft.Windows.Design.Interaction-Namespace

Weitere Ressourcen

WPF-Designer-Erweiterbarkeit