Share via


ElementViewModel.PromoteCommands Property

Gets a boolean that indicates whether this ElementViewModel's add commands should be promoted to its parent ElementViewModel.

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

Syntax

'Declaration
Public Overridable ReadOnly Property PromoteCommands As Boolean
public virtual bool PromoteCommands { get; }
public:
virtual property bool PromoteCommands {
    bool get ();
}
public function get PromoteCommands () : boolean

Field Value

truetrue (True in Visual Basic) if this ElementViewModel's add commands should be promoted to its parent ElementViewModel. Otherwise falsefalse (False in Visual Basic).

See Also

ElementViewModel Class

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