Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraMessageBox.ButtonsAlignment Property

Gets or sets whether message box buttons are center, left or right aligned. This is a static (Shared in VB) property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public static HorizontalAlignment ButtonsAlignment { get; set; }

#Property Value

Type Description
HorizontalAlignment

A HorizontalAlignment enumeration value, such as Center, Left or Right, that specifies how message box buttons are aligned. The default is Center.

See Also