Skip to main content
.NET Framework 4.5.2+

DecrementIndentCommand.UpdateUIState(ICommandUIState) Method

Updates the command state and applies restrictions.

Namespace: DevExpress.XtraRichEdit.Commands

Assembly: DevExpress.RichEdit.v22.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core


public override void UpdateUIState(
    ICommandUIState state


Name Type Description
state ICommandUIState

An object defining the command state.


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

See Also