XRControl.AnchorVertical Property
Specifies the vertical anchoring style of a report control.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v17.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
[SRCategory(ReportStringId.CatBehavior)]
public virtual VerticalAnchorStyles AnchorVertical { get; set; }
Property Value
Type | Description |
---|---|
VerticalAnchorStyles | A VerticalAnchorStyles enumeration member, specifying the side of the control’s container. |
Available values:
Name | Description |
---|---|
None | A control is not anchored to any edge of its container. |
Top | A control is anchored to the top edge of its container. |
Bottom | A control is anchored to the bottom edge of its container. |
Both | A control is anchored to both the top and bottom edges of its container. |
Remarks
The AnchorVertical property attaches a report control to the specified side(s) of its container (top, bottom, or both) on a rendered document page.
The XRControl.CanGrow and XRControl.CanShrink property values are ignored if the AnchorVertical property is set to VerticalAnchorStyles.Bottom or VerticalAnchorStyles.Both.
Note
Not all descendants of the XRControl class use the AnchorVertical property. For example, the XRPageBreak class and Band descendants ignore the AnchorVertical property.