Skip to main content

HorizontalAnchorStyles Enum

Lists the horizontal anchoring styles available for a report control.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.Printing.v23.1.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public enum HorizontalAnchorStyles


Name Description

Identical to the Left member.


Anchors a control to the left edge of its container.


Anchors a control to the right edge of its container.


Anchores a control to the left and right edges of its container.


The AnchorHorizontal property defines how a report control is resized to maintain the distance to the left and right edges of its container. You can set the value of this property to one of the HorizontalAnchorStyles enumeration values. The following examples demonstrate how different property values affect anchoring:

The AnchorHorizontal property is hidden in the following descendants of the XRControl class:

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HorizontalAnchorStyles enum.


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