Skip to main content
A newer version of this page is available. .

HorzAlignment Enum

Specifies the horizontal alignment of an object or text in a control.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v18.2.dll

Declaration

[TypeConverter(typeof(EnumTypeConverter))]
[ResourceFinder(typeof(ResFinder))]
public enum HorzAlignment

Members

Name Description
Default

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

Near

Places an object/text at a near position.

Center

Centers an object or text within a region.

Far

Places an object/text at a far position.

Remarks

The HorzAlignment enumeration represents different horizontal alignment options for an object or text in a control.

The following code snippets (auto-collected from DevExpress Examples) contain references to the HorzAlignment enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also