Progress® Telerik® Reporting R3 2017

ReportItemAnchoring Property

Gets or sets the edges of the container to which a report is bound and determines how a report items is resized with its parent.

Namespace:  Telerik.Reporting
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

public AnchoringStyles Anchoring { get; set; }

Property Value

Type: AnchoringStyles
A bitwise combination of the AnchoringStyles values. The default is None.

Remarks

Use the Anchoring property to define how a report is automatically resized as its parent item is resized. Anchoring a report to its parent ensures that the anchored edges remain in the same position relative to the edges of the parent when the parent control is resized.

You can anchor a report item to one or more edges of its container. For example, if you have a DetailSection with a TextBox whose Anchoring property value is set to Top and Bottom, the TextBox is stretched to maintain the anchored distance to the top and bottom edges of the DetailSection as the Height of the DetailSection is increased.

Note:The Anchoring and Docking properties are mutually exclusive. Only one can be set at a time, and the last one set takes precedence.

See Also