Back to Devexpress

XtraBaseArgs.ButtonAlignment Property

windowsforms-devexpress-dot-xtraeditors-dot-xtrabaseargs-c2ba1727.md

latest1.6 KB
Original Source

XtraBaseArgs.ButtonAlignment Property

Gets or sets the alignment mode for buttons of this dialog or message.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public HorzAlignment ButtonAlignment { get; set; }
vb
Public Property ButtonAlignment As HorzAlignment

Property Value

TypeDescription
HorzAlignment

The button alignment mode.

|

Available values:

NameDescription
Default

Places an object or text at the default position, which is determined by a control.

| | Near |

Places an object/text at a near position.

| | Center |

Centers an object or text within a region.

| | Far |

Places an object/text at a far position.

|

Remarks

Modify the XtraBaseArgs.Buttons array to select which buttons this dialog or message should display.

See Also

XtraBaseArgs Class

XtraBaseArgs Members

DevExpress.XtraEditors Namespace