NewItemTypesAttribute.Types Property

Gets a list of Type objects that this attribute declares as being valid new item types.

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

Syntax

'Declaration
Public ReadOnly Property Types As IEnumerable(Of Type)
    Get
public IEnumerable<Type> Types { get; }
public:
property IEnumerable<Type^>^ Types {
    IEnumerable<Type^>^ get ();
}
member Types : IEnumerable<Type>
function get Types () : IEnumerable<Type>

Property Value

Type: System.Collections.Generic.IEnumerable<Type>
An enumeration of the types that this attribute guarantees to be valid new item types.

Remarks

The object returned by this property is guaranteed to be non-nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

NewItemTypesAttribute Class

Microsoft.Windows.Design.PropertyEditing Namespace

NewItemFactory

Other Resources

Property Editing Architecture

WPF Designer Extensibility