Skip to main content
A newer version of this page is available. .

UICommand.Alignment Property

Gets or sets the dialog button’s horizontal alignment.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v20.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Uwp.Controls, DevExpress.WindowsDesktop.Mvvm

Declaration

public DialogButtonAlignment Alignment { get; set; }

Property Value

Type Description
DialogButtonAlignment

Specifies the dialog button alignment.

Available values:

Name Description
Right

The DialogButton is aligned to the right of the dialog’s content area.

Center

The DialogButton is centered within the dialog’s content area.

Left

The DialogButton is aligned to the left of the dialog’s content area.

Remarks

Note

The UICommand.Alignment property works only with the ThemedWindow control.

See Also