RepositoryItem.DefaultAlignment Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
public virtual HorzAlignment DefaultAlignment { get; }
<Browsable(False)>
Public Overridable ReadOnly Property DefaultAlignment As HorzAlignment

Property Value

Type Description
HorzAlignment

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

Remarks

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