A newer version of this page is available. Switch to the current version.

ICommandUIState Interface

Defines a command state.

Namespace: DevExpress.Utils.Commands

Assembly: DevExpress.Data.v18.2.dll

Declaration

public interface ICommandUIState
Public Interface ICommandUIState

Related API Members

The following members accept/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