Skip to main content

RepositoryItemImageComboBox.DefaultAlignment Property

Gets the alignment of the editor contents when the editor works as an inplace control.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation


public override HorzAlignment DefaultAlignment { get; }

Property Value

Type Description

The HorzAlignment.Near value.

Available values:

Name Description

Places an object or text at the default position, which is determined by a control.


Places an object/text at a near position.


Centers an object or text within a region.


Places an object/text at a far position.


The DefaultAlignment property returns the aligment of the editor contents when it is an inplace control within a container control (XtraGrid, for instance). For standalone editors, DefaultAlignment is not in effect and the text alignment is controlled by the TextOptions.HAlignment property of the RepositoryItem.Appearance object.

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

See Also