Command.UpdateUIState(ICommandUIState) Method
In This Article
Updates the command state.
Namespace: DevExpress.Utils.Commands
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public virtual void UpdateUIState(
ICommandUIState state
)
#Parameters
Name | Type | Description |
---|---|---|
state | ICommand |
An ICommand |
#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