Skip to main content

ICommandUIState Interface

Defines a command state.

Namespace: DevExpress.Utils.Commands

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public interface ICommandUIState

The following members return ICommandUIState objects:

Show 27 links
Library Related API Members
Cross-Platform Class Library Command.CreateDefaultCommandUIState()
WinForms Controls PdfSetPageNumberCommand.CreateDefaultCommandUIState()
Office File API ChangeDoubleFontSizeCommand.CreateDefaultCommandUIState()
ChangeFloatingObjectFillColorCommand.CreateDefaultCommandUIState()
ChangeFloatingObjectOutlineColorCommand.CreateDefaultCommandUIState()
ChangeFloatingObjectOutlineWidthCommand.CreateDefaultCommandUIState()
ChangeFontBackColorCommand.CreateDefaultCommandUIState()
ChangeFontColorCommand.CreateDefaultCommandUIState()
ChangeFontNameCommand.CreateDefaultCommandUIState()
ChangeFontSizeCommand.CreateDefaultCommandUIState()
ChangeLanguageCommand.CreateDefaultCommandUIState()
ChangeNoProofCommand.CreateDefaultCommandUIState()
ChangePageColorCommand.CreateDefaultCommandUIState()
ChangeParagraphBackColorCommand.CreateDefaultCommandUIState()
ChangeSectionPaperKindCommand.CreateDefaultCommandUIState()
ChangeTableCellsShadingCommand.CreateDefaultCommandUIState()
InsertMergeFieldCommand.CreateDefaultCommandUIState()
InsertTableCommand.CreateDefaultCommandUIState()
ReplaceMisspellingCommand.CreateDefaultCommandUIState()
ShowColumnsSetupFormCommand.CreateDefaultCommandUIState()
ShowFontFormCommand.CreateDefaultCommandUIState()
ShowLineNumberingFormCommand.CreateDefaultCommandUIState()
ShowParagraphFormCommand.CreateDefaultCommandUIState()
ShowPasteSpecialFormCommand.CreateDefaultCommandUIState()
ShowSplitTableCellsFormCommand.CreateDefaultCommandUIState()
ShowSymbolFormCommand.CreateDefaultCommandUIState()
ShowTabsFormCommand.CreateDefaultCommandUIState()

Remarks

Use the Command.CreateDefaultCommandUIState method to create a command state for a certain command. The newly created state should be updated via the Command.UpdateUIState method. By checking the ICommandUIState properties, you can decide whether the corresponding action should be performed. If yes, call the Command.ForceExecute method.

See Also