RepositoryItemColorEdit.DefaultAlignment Property

Gets the default alignment of the editor contents when the editor is inplace within a container control.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

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

Property Value

Type Description
HorzAlignment

The HorzAlignment.Near value.

Remarks

The DefaultAlignment property returns the default aligment of the editor contents when it is an inplace control (within XtraGrid, for instance). For standalone editors, DefaultAlignment is not in effect and text alignment is then 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