Skip to main content
Bar

BarEditItem.EditHorizontalAlignment Property

Gets or sets the default horizontal alignment of the in-place editor displayed by links referring to the current BarEditItem. This property is in effect when the links are displayed within a RibbonControl.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

[XtraSerializableProperty]
public HorizontalAlignment? EditHorizontalAlignment { get; set; }

#Property Value

Type Description
Nullable<HorizontalAlignment>

A Nullable HorizontalAlignment value that is the horizontal alignment of the in-place editor.

#Remarks

In-place editors can be aligned via the EditHorizontalAlignment property if there is empty space in the Ribbon Control next to the in-place editor.

The BarEditItem's EditHorizontalAlignment property specifies the default horizontal alignment for all links that refer to the current BarEditItem. To override the horizontal alignment for individual links, use the BarEditItemLink.EditHorizontalAlignment property. The BarEditItemLink.EditHorizontalAlignment property has a higher priority than the BarEditItem's EditHorizontalAlignment property.

See Also