Skip to content
ChartForgeX
Class

ChartTableFluent

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX.Visuals
Modifiers
static

Hand-written fluent methods of ChartTable that do more than set one property.

Inheritance

  • object
  • ChartTableFluent

Methods

public static ChartTable Accessibility(ChartTable chartTable, Action<VisualAccessibility> configure) #

Configures VisualBlockOptions.Accessibility in place.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
configure System.Action<ChartForgeX.Accessibility.VisualAccessibility> required
Configures the value.

Returns

ChartTable The same instance.
public static ChartTable Columns(ChartTable chartTable, params string[] headers) #

Adds columns from header text.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
headers string[] required

Returns

ChartTable
public static ChartTable Dense(ChartTable chartTable, bool value = true) #

Sets ChartTable.Dense: Gets or sets whether compact row sizing is used.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::ChartForgeX.VisualBlocks.ChartTable { Dense = value };    chartTable.Dense(value);
public static ChartTable HostOwnsFrame(ChartTable chartTable, bool value = true) #

Sets VisualBlockOptions.HostOwnsFrame.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                                                                                             // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.HostOwnsFrame = value;    chartTable.HostOwnsFrame(value);
public static ChartTable Options(ChartTable chartTable, Action<VisualBlockOptions> configure) #

Configures VisualBlock<ChartTable>.Options in place.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions> required
Configures the value.

Returns

ChartTable The same instance.
public static ChartTable Padding(ChartTable chartTable, ChartPadding value) #

Sets VisualBlockOptions.Padding.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value ChartForgeX.Primitives.ChartPadding required
The value.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                                                                                       // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.Padding = value;    chartTable.Padding(value);
public static ChartTable RasterScale(ChartTable chartTable, int value) #

Sets VisualBlockOptions.RasterScale.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value int required
The value.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                                                                                           // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.RasterScale = value;    chartTable.RasterScale(value);
public static ChartTable RowStriping(ChartTable chartTable, bool value = true) #

Sets ChartTable.RowStriping: Gets or sets whether alternating row backgrounds are rendered.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.VisualBlocks.ChartTable { RowStriping = value };    chartTable.RowStriping(value);
public static ChartTable ShowCard(ChartTable chartTable, bool value = true) #

Sets VisualBlockOptions.ShowCard.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                                                                                        // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.ShowCard = value;    chartTable.ShowCard(value);
public static ChartTable ShowHeader(ChartTable chartTable, bool value = true) #

Sets ChartTable.ShowHeader: Gets or sets whether the header row is rendered.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.VisualBlocks.ChartTable { ShowHeader = value };    chartTable.ShowHeader(value);
public static ChartTable Size(ChartTable chartTable, ChartSize value) #

Sets VisualBlockOptions.Size.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value ChartForgeX.Primitives.ChartSize required
The value.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                                                                                    // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.Size = value;    chartTable.Size(value);
public static ChartTable Subtitle(ChartTable chartTable, string value) #

Sets VisualBlock<ChartTable>.Subtitle.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value string required
The value.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ChartForgeX.VisualBlocks.ChartTable { Subtitle = value };    chartTable.Subtitle(value);
public static ChartTable SvgColorVariables(ChartTable chartTable, SvgColorVariables? value) #

Sets VisualBlockOptions.SvgColorVariables.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value ChartForgeX.Themes.SvgColorVariables? required
The value.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                                                                                                 // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.SvgColorVariables = value;    chartTable.SvgColorVariables(value);
public static ChartTable Theme(ChartTable chartTable, VisualTheme value) #

Sets VisualBlockOptions.Theme.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value ChartForgeX.Themes.VisualTheme required
The value.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                                                                                     // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.Theme = value;    chartTable.Theme(value);
public static ChartTable ThemeMode(ChartTable chartTable, ThemeMode value) #

Sets VisualBlockOptions.ThemeMode.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value ChartForgeX.ThemeMode required
The value.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                                                                                         // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.ThemeMode = value;    chartTable.ThemeMode(value);
public static ChartTable Title(ChartTable chartTable, string value) #

Sets VisualBlock<ChartTable>.Title.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value string required
The value.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::ChartForgeX.VisualBlocks.ChartTable { Title = value };    chartTable.Title(value);
public static ChartTable TransparentBackground(ChartTable chartTable, bool value = true) #

Sets VisualBlockOptions.TransparentBackground.

Parameters

chartTable ChartForgeX.VisualBlocks.ChartTable required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartTable The same instance.

Examples

// C# initializer or property                                                                                                                     // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.ChartTable>)chartTable).Options.TransparentBackground = value;    chartTable.TransparentBackground(value);