Compartir a través de


ElementViewModel.Commands Property

The CommandModel command associated with this configuration element.

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

Syntax

'Declaration
Public ReadOnly Property Commands As IEnumerable(Of CommandModel)
public IEnumerable<CommandModel> Commands { get; }
public:
property IEnumerable<CommandModel^>^ Commands {
    IEnumerable<CommandModel^>^ get ();
}
public function get Commands () : IEnumerable<CommandModel>

Remarks

Default command are typically provided by the ContainingSection. These may be overridden for each configuration element through the use of a CommandAttribute

See Also

ElementViewModel Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace