Share via


NewItemTypesAttribute Constructor (Type)

Initializes a new instance of the NewItemTypesAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    type As Type _
)
public NewItemTypesAttribute(
    Type type
)
public:
NewItemTypesAttribute(
    Type^ type
)
new : 
        type:Type -> NewItemTypesAttribute
public function NewItemTypesAttribute(
    type : Type
)

Parameters

  • type
    Type: System.Type
    A Type object that this attribute declares as being a valid new item type.

Exceptions

Exception Condition
ArgumentNullException

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

.NET Framework Security

See Also

Reference

NewItemTypesAttribute Class

NewItemTypesAttribute Overload

Microsoft.Windows.Design.PropertyEditing Namespace

NewItemFactory

Other Resources

Property Editing Architecture

WPF Designer Extensibility