VegaRise.NET
Back to Table

FromEnumerable``1Method

Definition

Namespace
DOM.Elements.TableElements
Assembly
DOM.dll

Creates a from an enumerable data source. Table

Table FromEnumerable``1(IEnumerable<`> data, bool includeHeaders, TableStyle style)

Parameters

data
The collection of objects used to populate the table.
includeHeaders
If, a header row will be generated. For complex types, property names are used as column headers.
style
An optional to apply to the resulting table. TableStyle

Returns

Table

A representing the data in tabular form. Table

Exceptions

  • System.ArgumentNullException: Thrown when is . data

Remarks

- For primitive or simple types (e.g.,, ), a single-column table is generated. - For complex types, public instance properties are used as columns. - Property values are converted to strings using . Int32 String ToString

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.