Skip to content
ChartForgeX
Class

SectionHeaderBlockFluent

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX.Visuals
Modifiers
static

The fluent methods of SectionHeaderBlock, 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
  • SectionHeaderBlockFluent

Methods

public static SectionHeaderBlock Accessibility(SectionHeaderBlock sectionHeaderBlock, Action<VisualAccessibility> configure) #

Configures VisualBlockOptions.Accessibility in place.

Parameters

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

Returns

SectionHeaderBlock The same instance.
public static SectionHeaderBlock HostOwnsFrame(SectionHeaderBlock sectionHeaderBlock, bool value = true) #

Sets VisualBlockOptions.HostOwnsFrame.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

SectionHeaderBlock The same instance.

Examples

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

Configures VisualBlock<SectionHeaderBlock>.Options in place.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions> required
Configures the value.

Returns

SectionHeaderBlock The same instance.
public static SectionHeaderBlock Padding(SectionHeaderBlock sectionHeaderBlock, ChartPadding value) #

Sets VisualBlockOptions.Padding.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
value ChartForgeX.Primitives.ChartPadding required
The value.

Returns

SectionHeaderBlock The same instance.

Examples

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

Sets VisualBlockOptions.RasterScale.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
value int required
The value.

Returns

SectionHeaderBlock The same instance.

Examples

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

Sets VisualBlockOptions.ShowCard.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

SectionHeaderBlock The same instance.

Examples

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

Sets VisualBlockOptions.Size.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
value ChartForgeX.Primitives.ChartSize required
The value.

Returns

SectionHeaderBlock The same instance.

Examples

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

Sets VisualBlock<SectionHeaderBlock>.Subtitle.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
value string required
The value.

Returns

SectionHeaderBlock The same instance.

Examples

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

Sets VisualBlockOptions.SvgColorVariables.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
value ChartForgeX.Themes.SvgColorVariables? required
The value.

Returns

SectionHeaderBlock The same instance.

Examples

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

Sets VisualBlockOptions.Theme.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
value ChartForgeX.Themes.VisualTheme required
The value.

Returns

SectionHeaderBlock The same instance.

Examples

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

Sets VisualBlockOptions.ThemeMode.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
value ChartForgeX.ThemeMode required
The value.

Returns

SectionHeaderBlock The same instance.

Examples

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

Sets VisualBlock<SectionHeaderBlock>.Title.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
value string required
The value.

Returns

SectionHeaderBlock The same instance.

Examples

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

Sets VisualBlockOptions.TransparentBackground.

Parameters

sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

SectionHeaderBlock The same instance.

Examples

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