Back to Devexpress

WindowsUIButtonPanel.ContentAlignment Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-windowsuibuttonpanel-dfdcb6a7.md

latest2.2 KB
Original Source

WindowsUIButtonPanel.ContentAlignment Property

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

Namespace : DevExpress.XtraBars.Docking2010

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
ContentAlignmentMiddleCenter

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:

See Also

WindowsUIButtonPanel Class

WindowsUIButtonPanel Members

DevExpress.XtraBars.Docking2010 Namespace