Skip to main content
All docs
V24.1

ShowNumberingListFormCommand.UpdateUIState(ICommandUIState) Method

Updates the command state and applies restrictions.

Namespace: DevExpress.XtraRichEdit.Commands

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public override void UpdateUIState(
    ICommandUIState state
)

Parameters

Name Type Description
state ICommandUIState

An object that defines the command state.

Remarks

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