Command.Execute() Method

Executes the command on the current command target.

Namespace: DevExpress.Utils.Commands

Assembly: DevExpress.Data.v20.2.dll


public virtual void Execute()
Public Overridable Sub Execute


The Execute method checks the command state before executing, and decides whether the action can be performed. In case you want to execute an action if the command cannot be executed, use the Command.ForceExecute method.

See Also