Skip to main content

XRTableRow.TopF Property

Gets or sets the Y-coordinate of the control’s top edge (measured in report units).

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public override float TopF { get; set; }

Property Value

Type Description
Single

A Single value, representing the Y-coordinate of the top edge of the control and measured in the units set by the XtraReport.ReportUnit property.

Remarks

The Y-coordinate of the control’s top edge is the Y-coordinate of the top edge of the RectangleF object returned by this control’s XRControl.BoundsF property.

Note

If you’re creating an XRTable object at runtime and manually add XRTableRow and XRTableCell objects to it, it is always required to enclose this code inside the XRTable.BeginInit and XRTable.EndInit method calls. And, the final size of the table doesn’t consider the size of table rows and table cells being added to it. So, you need to manually set the table size and width before calling the XRTable.EndInit method.

See Also