Skip to main content

WindowsUIButtonPanel.ContentAlignment Property

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

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.1.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