UICommand(Object, Object, ICommand, Boolean, Boolean, Object, Boolean, Object, DialogButtonAlignment, AsyncDisplayMode, Object, GlyphAlignment) Constructor
In This Article
Initializes a new instance of the UICommand class with specified settings.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.2.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
public UICommand(
object id,
object caption,
ICommand command,
bool isDefault,
bool isCancel,
object tag = null,
bool allowCloseWindow = true,
object placement = null,
DialogButtonAlignment alignment = DialogButtonAlignment.Right,
AsyncDisplayMode asyncDisplayMode = AsyncDisplayMode.None,
object glyph = null,
GlyphAlignment glyphAlignment = GlyphAlignment.Left
)
#Parameters
Name | Type |
---|---|
id | Object |
caption | Object |
command | ICommand |
is |
Boolean |
is |
Boolean |
#Optional Parameters
Name | Type | Default |
---|---|---|
tag | Object | null |
allow |
Boolean | True |
placement | Object | null |
alignment | Dialog |
Right |
async |
Async |
None |
glyph | Object | null |
glyph |
Glyph |
Left |
See Also