Jaa


CommandAttribute Class

Attribute used to decorate a designtime View Model element with an executable command. E.g. a context menu item that allows the user to perform an action in the elements context.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Assembly Or AttributeTargets.Class Or AttributeTargets.Property, AllowMultiple := True)> _
Public Class CommandAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Property, AllowMultiple = true)]
public class CommandAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Assembly|AttributeTargets::Class|AttributeTargets::Property, AllowMultiple = true)]
public ref class CommandAttribute : public Attribute
public class CommandAttribute extends Attribute

Inheritance Hierarchy

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

See Also

CommandAttribute Members

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