SectionHeaderBlockFluent
ChartForgeX.VisualBlocks
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
- The instance.
- configure System.Action<ChartForgeX.Accessibility.VisualAccessibility>
- Configures the value.
public static SectionHeaderBlock HostOwnsFrame(SectionHeaderBlock sectionHeaderBlock, bool value = true) #Sets VisualBlockOptions.HostOwnsFrame.
Parameters
- sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions>
- Configures the value.
public static SectionHeaderBlock Padding(SectionHeaderBlock sectionHeaderBlock, ChartPadding value) #Sets VisualBlockOptions.Padding.
Parameters
- sectionHeaderBlock ChartForgeX.VisualBlocks.SectionHeaderBlock
- The instance.
- value ChartForgeX.Primitives.ChartPadding
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- value ChartForgeX.Primitives.ChartSize
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value ChartForgeX.Themes.SvgColorVariables?
- The value.
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
- The instance.
- value ChartForgeX.Themes.VisualTheme
- The value.
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
- The instance.
- value ChartForgeX.ThemeMode
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.SectionHeaderBlock>)sectionHeaderBlock).Options.TransparentBackground = value; sectionHeaderBlock.TransparentBackground(value);