corelibraries-devexpress-dot-mvvm-dot-uicommand-dot-ctor.md
A ViewModel that generates a dialog button.
| Name | Parameters | Description |
|---|---|---|
| UICommand() | none | Initializes a new instance of the UICommand class with the default settings. |
| [UICommand(Object, Object, ICommand<CancelEventArgs>, Boolean, Boolean, Object, Boolean, Object, DialogButtonAlignment, AsyncDisplayMode, Object, GlyphAlignment)](/CoreLibraries/DevExpress.Mvvm.UICommand.(-pHyM-----o----) | id, caption, command, isDefault, isCancel, tag, allowCloseWindow, placement, alignment, asyncDisplayMode, glyph, glyphAlignment | Initializes a new instance of the UICommand class with specified settings. |
| UICommand(Object, Object, ICommand<CancelEventArgs>) | id, caption, command | Initializes a new instance of the UICommand class with specified settings. |
| UICommand(Object, Object, ICommand, Boolean, Boolean, Object, Boolean, Object, DialogButtonAlignment, AsyncDisplayMode, Object, GlyphAlignment) | id, caption, command, isDefault, isCancel, tag, allowCloseWindow, placement, alignment, asyncDisplayMode, glyph, glyphAlignment | Initializes a new instance of the UICommand class with specified settings. |
| UICommand(Object, Object, ICommand) | id, caption, command | Initializes a new instance of the UICommand class with specified settings. |
See Also