Back to Devexpress

UICommand.Alignment Property

corelibraries-devexpress-dot-mvvm-dot-uicommand-89fbfd03.md

latest1.5 KB
Original Source

UICommand.Alignment Property

Gets or sets the dialog button’s horizontal alignment.

Namespace : DevExpress.Mvvm

Assembly : DevExpress.Mvvm.v25.2.dll

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

Declaration

csharp
public DialogButtonAlignment Alignment { get; set; }
vb
Public Property Alignment As DialogButtonAlignment

Property Value

TypeDescription
DialogButtonAlignment

Specifies the dialog button alignment.

|

Available values:

NameDescription
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

UICommand Class

UICommand Members

DevExpress.Mvvm Namespace