WindowsUIButtonPanel.ContentAlignment Property

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

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(ContentAlignment.MiddleCenter)]
[DXCategory("Layout")]
public ContentAlignment ContentAlignment { get; set; }
<DefaultValue(ContentAlignment.MiddleCenter)>
<DXCategory("Layout")>
Public Property ContentAlignment As ContentAlignment

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