Skip to content
ChartForgeX
Class

TimelineDiagramBlockFluent

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX
Modifiers
static

The fluent methods of TimelineDiagramBlock, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • TimelineDiagramBlockFluent

Methods

public static TimelineDiagramBlock Accessibility(TimelineDiagramBlock timelineDiagramBlock, Action<VisualAccessibility> configure) #

Configures VisualBlockOptions.Accessibility in place: Gets the text alternative, language, and decorative metadata used by static exports.

Parameters

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

Returns

TimelineDiagramBlock The same instance.
public static TimelineDiagramBlock Direction(TimelineDiagramBlock timelineDiagramBlock, TimelineDiagramDirection value) #

Sets TimelineDiagramBlock.Direction: Gets or sets the reading direction.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value ChartForgeX.VisualBlocks.TimelineDiagramDirection required
The value.

Returns

TimelineDiagramBlock The same instance.

Examples

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

Sets VisualBlockOptions.HostOwnsFrame: Gets or sets whether the host owns the frame, removing the surface and outer padding.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TimelineDiagramBlock The same instance.

Examples

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

Configures VisualBlock<TimelineDiagramBlock>.Options in place: Gets shared rendering options.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions> required
Configures the value.

Returns

TimelineDiagramBlock The same instance.
public static TimelineDiagramBlock Padding(TimelineDiagramBlock timelineDiagramBlock, ChartPadding value) #

Sets VisualBlockOptions.Padding: Gets or sets the inner content padding.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value ChartForgeX.Primitives.ChartPadding required
The value.

Returns

TimelineDiagramBlock The same instance.

Examples

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

Sets VisualBlockOptions.RasterScale: Gets or sets the output pixel multiplier used by PNG exports.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value int required
The value.

Returns

TimelineDiagramBlock The same instance.

Examples

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

Sets VisualBlockOptions.ShowCard: Gets or sets whether the outer card surface should be rendered.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TimelineDiagramBlock The same instance.

Examples

// C# initializer or property                                                                                                                            // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.TimelineDiagramBlock>)timelineDiagramBlock).Options.ShowCard = value;    timelineDiagramBlock.ShowCard(value);
public static TimelineDiagramBlock Size(TimelineDiagramBlock timelineDiagramBlock, ChartSize value) #

Sets VisualBlockOptions.Size: Gets or sets the rendered block size in pixels.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value ChartForgeX.Primitives.ChartSize required
The value.

Returns

TimelineDiagramBlock The same instance.

Examples

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

Sets VisualBlock<TimelineDiagramBlock>.Subtitle: Gets or sets the block subtitle.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value string required
The value.

Returns

TimelineDiagramBlock The same instance.

Examples

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

Sets VisualBlockOptions.SvgColorVariables: Gets or sets the CSS custom properties SVG output writes for theme colours, matched by colour value (see SvgColorVariables.Apply), for example SvgColorVariables.SharedRoles of this theme and mode. Null (the default) writes literal colours; PNG output always does.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value ChartForgeX.Themes.SvgColorVariables? required
The value.

Returns

TimelineDiagramBlock The same instance.

Examples

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

Sets VisualBlockOptions.Theme: Gets or sets the visual theme used by renderers.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value ChartForgeX.Themes.VisualTheme required
The value.

Returns

TimelineDiagramBlock The same instance.

Examples

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

Sets VisualBlockOptions.ThemeMode: Gets or sets the explicit mode of the shared theme.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value ChartForgeX.ThemeMode required
The value.

Returns

TimelineDiagramBlock The same instance.

Examples

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

Sets VisualBlock<TimelineDiagramBlock>.Title: Gets or sets the block title.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value string required
The value.

Returns

TimelineDiagramBlock The same instance.

Examples

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

Sets VisualBlockOptions.TransparentBackground: Gets or sets whether the full background should stay transparent.

Parameters

timelineDiagramBlock ChartForgeX.VisualBlocks.TimelineDiagramBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TimelineDiagramBlock The same instance.

Examples

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