Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CutSelectionCommand.UpdateUIState(ICommandUIState) Method

Updates the command state and applies restrictions.

Namespace: DevExpress.XtraRichEdit.Commands

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

NuGet Package: DevExpress.RichEdit.Core

#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