Skip to main content
A newer version of this page is available. .

WindowsUIButtonPanel.ContentAlignment Property

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

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v19.1.dll

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