UICommand(Object, Object, ICommand, Boolean, Boolean, Object, Boolean, Dock, DialogButtonAlignment) Constructor
Initializes a new instance of the UICommand class with specified settings.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v18.2.dll
Declaration
public UICommand(
object id,
object caption,
ICommand command,
bool isDefault,
bool isCancel,
object tag = null,
bool allowCloseWindow = true,
Dock placement = Dock.Right,
DialogButtonAlignment alignment = DialogButtonAlignment.Right
)
Parameters
Name | Type |
---|---|
id | Object |
caption | Object |
command | ICommand |
isDefault | Boolean |
isCancel | Boolean |
Optional Parameters
Name | Type | Default |
---|---|---|
tag | Object | *null* |
allowCloseWindow | Boolean | True |
placement | Dock | 2 |
alignment | DevExpress.Mvvm.DialogButtonAlignment | 0 |
See Also