Back to Devexpress

ICommandUIState Interface

corelibraries-devexpress-dot-utils-dot-commands-275ec9bf.md

latest6.3 KB
Original Source

ICommandUIState Interface

Defines a command state.

Namespace : DevExpress.Utils.Commands

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public interface ICommandUIState
vb
Public Interface ICommandUIState

The following members return ICommandUIState objects:

Show 27 links

LibraryRelated API Members
Cross-Platform Class LibraryCommand.CreateDefaultCommandUIState()
WinForms ControlsPdfSetPageNumberCommand.CreateDefaultCommandUIState()
Office File APIChangeDoubleFontSizeCommand.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

ICommandUIState Members

CreateDefaultCommandUIState()

UpdateUIState(ICommandUIState)

ForceExecute(ICommandUIState)

DevExpress.Utils.Commands Namespace