RepositoryItem.DefaultAlignment Property

Gets the default horizontal alignment of the editor's content.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll


public virtual HorzAlignment DefaultAlignment { get; }
Public Overridable ReadOnly Property DefaultAlignment As HorzAlignment

Property Value

Type Description

A HorzAlignment enumeration value specifying the editor content's default horizontal alignment.


This property is used by container controls when editors are used inplace. Its return value indicates how values should be aligned within cells. For standalone editors, the text alignment is controlled by the editor's style settings (i.e. by using the RepositoryItem.Appearance property).

See Also