Share via


ElementViewModel.CreateOtherCommands Method

Creates commands other than Add, Delete, or custom command specified via attribute, for this element.

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

Syntax

'Declaration
Protected Function CreateOtherCommands As IEnumerable(Of CommandModel)
protected IEnumerable<CommandModel> CreateOtherCommands()
protected:
IEnumerable<CommandModel^>^ CreateOtherCommands()
protected function CreateOtherCommands() : IEnumerable<CommandModel>

Return Value

An enumerable containing instances of ToggleShowPropertiesCommand and ValidateCommand.

See Also

ElementViewModel Class

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