ComponentDefinition
A visual component that renders data.
public sealed record ComponentDefinition : IEquatable<ComponentDefinition>
Constructors
ComponentDefinition
public ComponentDefinition(ComponentType Type, string? DataSource, string? Title, string? Value, string? Format, ChartType? ChartType, AxisDefinition? XAxis, AxisDefinition? YAxis, ImmutableArray<ColumnDefinition>? Columns, int? PageSize, string? Content, string? Style, string? CssClass = null, ImmutableDictionary<string, string>? CssStyle = null)
A visual component that renders data.
| Parameter | Type | Description |
|---|---|---|
Type |
ComponentType |
|
DataSource |
String |
|
Title |
String |
|
Value |
String |
|
Format |
String |
|
ChartType |
ChartType> |
|
XAxis |
AxisDefinition |
|
YAxis |
AxisDefinition |
|
Columns |
ColumnDefinition>> |
|
PageSize |
Int32> |
|
Content |
String |
|
Style |
String |
|
CssClass |
String |
|
CssStyle |
String> |
Properties
Type
public ComponentType Type { get; init; }
DataSource
public string? DataSource { get; init; }
Title
public string? Title { get; init; }
Value
public string? Value { get; init; }
Format
public string? Format { get; init; }
ChartType
public ChartType? ChartType { get; init; }
XAxis
public AxisDefinition? XAxis { get; init; }
YAxis
public AxisDefinition? YAxis { get; init; }
Columns
public ImmutableArray<ColumnDefinition>? Columns { get; init; }
PageSize
public int? PageSize { get; init; }
Content
public string? Content { get; init; }
Style
public string? Style { get; init; }
CssClass
public string? CssClass { get; init; }
CssStyle
public ImmutableDictionary<string, string>? CssStyle { get; init; }