Skip to main content

UICommand.Alignment Property

Gets or sets the dialog button’s horizontal alignment.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

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