NewItemTypesAttribute.FactoryType Property

Gets or sets the factory type associated with this attribute.

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)

Property Value

Type: System.Type
A Type object that represents the type associated with this attribute.

Exceptions

Exception Condition
ArgumentException

type does not derive from NewItemFactory.

ArgumentNullException

type is nulla null reference (Nothing in Visual Basic).

Remarks

The Type object is guaranteed to derive from NewItemFactory.

.NET Framework Security

See Also

Reference

NewItemTypesAttribute Class

Microsoft.Windows.Design.PropertyEditing Namespace

NewItemFactory

Other Resources

Property Editing Architecture

WPF Designer Extensibility