.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

DeleteCommand.UpdateUIState(ICommandUIState) Method

Updates the command state and applies restrictions.

Namespace: DevExpress.XtraRichEdit.Commands

Assembly: DevExpress.RichEdit.v21.1.Core.dll

Declaration

public override void UpdateUIState(
    ICommandUIState state
)

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 and apply restrictions. Then, you can decide whether to perform the action and call the Command.ForceExecute method, if required.

See Also