NewItemTypesAttribute.FactoryType-Eigenschaft

Ruft den Factorytyp ab, der diesem Attribut zugeordnet ist, oder legt ihn fest.

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

Syntax

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

Eigenschaftswert

Typ: System.Type
Ein Type-Objekt, das den diesem Attribut zugeordneten Typ darstellt.

Ausnahmen

Ausnahme Bedingung
ArgumentException

Typ wird nicht von NewItemFactory abgeleitet.

ArgumentNullException

Typ ist nullNULL-Verweis (Nothing in Visual Basic).

Hinweise

Das Type-Objekt wird immer von NewItemFactory abgeleitet.

.NET Framework-Sicherheit

Siehe auch

Referenz

NewItemTypesAttribute Klasse

Microsoft.Windows.Design.PropertyEditing-Namespace

NewItemFactory

Weitere Ressourcen

Eigenschaftenbearbeitungsarchitektur

WPF-Designer-Erweiterbarkeit