Partager via


TypePickingCommandAttribute Class

Attribute class that is used to add a custom add command for a Element View Model.
The Type Picking Command displays a type picker prior to adding the target element and can use its result to initialize the added element.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public Class TypePickingCommandAttribute _
    Inherits CommandAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public class TypePickingCommandAttribute : CommandAttribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class TypePickingCommandAttribute : public CommandAttribute
public class TypePickingCommandAttribute extends CommandAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design.CommandAttribute
      Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design.TypePickingCommandAttribute

See Also

TypePickingCommandAttribute Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace