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

XRTableCell.SizeF Property

For internal use.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[Browsable(false)]
public override SizeF SizeF { get; set; }

Property Value

Type
SizeF

Example

The following example demonstrates how to create an XRTableRow object at runtime, via the XRTableRow.CreateRow method, and set some of its main properties.

using System.Drawing;
using DevExpress.XtraReports.UI;
// ...

public XRTableRow CreateXRTableRow() {
    // Create a table row containing three cells.
    XRTableRow row = XRTableRow.CreateRow(new SizeF(300F, 50F), 3);

    // Make the borders visible for all cells.
    row.Borders = DevExpress.XtraPrinting.BorderSide.All;

    // Set the border width for the row's cells.
    row.BorderWidth = 2;

    // Set the size of the cells.
    row.Cells[0].SizeF = new SizeF(120F, 50F);
    row.Cells[1].SizeF = new SizeF(90F, 50F);
    row.Cells[2].SizeF = new SizeF(90F, 50F);

    return row;
}

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

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