PromoteCommandsAttribute Class

Attribute class that can be oved to offer a properties add-commands to the containing Element View Model.
This can be usefull for properties that contain a collection of providers, of which the Element Collection View Model is not shown in the UI (User Interface).

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

Syntax

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

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design.PromoteCommandsAttribute

See Also

PromoteCommandsAttribute Members

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