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

WindowsUIButtonPanel.ContentAlignment Property

Gets or sets how the current WindowsUIButtonPanel‘s buttons are aligned.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(ContentAlignment.MiddleCenter)]
[DXCategory("Layout")]
public ContentAlignment ContentAlignment { get; set; }

#Property Value

Type Default Description
ContentAlignment MiddleCenter

A ContentAlignment enumerator value that specifies how WindowsUIButtons within the current WindowsUIButtonPanel are aligned.

#Remarks

Use the ContentAlignment property in code to specify how WindowsUIButtons are aligned within the current WindowsUIButtonPanel. At design-time, you can use the corresponding menu in the WindowsUIButtonPanel‘s smart tag:

Windows8UIButtonsPanel ContentAlignment

See Also