Command.UpdateUIState(ICommandUIState) Method

Updates the command state.

Namespace: DevExpress.Utils.Commands

Assembly: DevExpress.Data.v20.1.dll

Declaration

public virtual void UpdateUIState(
    ICommandUIState state
)
Public Overridable Sub UpdateUIState(
    state As ICommandUIState
)

Parameters

Name Type Description
state ICommandUIState

An ICommandUIState interface defining the state of a command.

Remarks

Use the UpdateUIState method to update the command state created by the Command.CreateDefaultCommandUIState. Then, you can decide whether to perform the action and call the Command.ForceExecute method if required.

See Also