Back to Devexpress

XRTable.CreateTable(RectangleF, Int32, Int32) Method

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrtable-dot-createtable-x28-system-dot-drawing-dot-rectanglef-system-dot-int32-system-dot-int32-x29.md

latest2.9 KB
Original Source

XRTable.CreateTable(RectangleF, Int32, Int32) Method

Creates an instance of the XRTable class with the specified settings.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public static XRTable CreateTable(
    RectangleF bounds,
    int rowCount,
    int columnCount
)
vb
Public Shared Function CreateTable(
    bounds As RectangleF,
    rowCount As Integer,
    columnCount As Integer
) As XRTable

Parameters

NameTypeDescription
boundsRectangleF

A RectangleF object, representing the table’s bounds.

| | rowCount | Int32 |

An integer value, representing the number of rows.

| | columnCount | Int32 |

An integer value, representing the number of columns.

|

Returns

TypeDescription
XRTable

An XRTable descendant.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateTable(RectangleF, Int32, Int32) method.

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.

reporting-mvc-generate-report-dynamically-for-specified-query/CS/ReportForQueryExample/PredefinedReports/TestReport.cs#L44

csharp
XRTable dynamicTable = XRTable.CreateTable(
                    new Rectangle(padding, // rect X

See Also

XRTable Class

XRTable Members

DevExpress.XtraReports.UI Namespace