VisualBlockOptions
ChartForgeX.VisualBlocks
Shared renderer-independent options for visual blocks.
Inheritance
- object
- VisualBlockOptions
Usage
Explore 109 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 45
- Property ActivityTimelineBlock.Options
- Property BlockLayoutBlock.Options
- Property ChartList.Options
- Property ChartTable.Options
- Property DateStripBlock.Options
- Property EntityStripBlock.Options
- Property FactualVisualBlock<T>.Options
- Property FishboneDiagramBlock.Options
- Property GitGraphBlock.Options
- Property HeatmapInsightCard.Options
- Property IVisualBlock.Options
- Property JourneyDiagramBlock.Options
- Property MetricCard.Options
- Property PacketLayoutBlock.Options
- Property RadialMetricCard.Options
- Property RailroadDiagramBlock.Options
- Property ScheduleTimelineBlock.Options
- Property SectionHeaderBlock.Options
- Property SegmentedMetricBlock.Options
- Property TimelineDiagramBlock.Options
- Property TreeViewBlock.Options
- Property VennDiagramBlock.Options
- Extension method VisualBlockOptions.Accessibility
- Extension method VisualBlockOptions.HostOwnsFrame
- Extension method VisualBlockOptions.Padding
- Extension method VisualBlockOptions.RasterScale
- Extension method VisualBlockOptions.ShowCard
- Extension method VisualBlockOptions.Size
- Extension method VisualBlockOptions.SvgColorVariables
- Extension method VisualBlockOptions.Theme
- Extension method VisualBlockOptions.ThemeMode
- Extension method VisualBlockOptions.TransparentBackground
- Method VisualBlockOptionsFluent.Accessibility
- Method VisualBlockOptionsFluent.HostOwnsFrame
- Method VisualBlockOptionsFluent.Padding
- Method VisualBlockOptionsFluent.RasterScale
- Method VisualBlockOptionsFluent.ShowCard
- Method VisualBlockOptionsFluent.Size
- Method VisualBlockOptionsFluent.SvgColorVariables
- Method VisualBlockOptionsFluent.Theme
- Method VisualBlockOptionsFluent.ThemeMode
- Method VisualBlockOptionsFluent.TransparentBackground
- Property VisualBlock<T>.Options
- Property WardleyMapBlock.Options
- Property WorkloadListBlock.Options
Accepted by parameters 64
- Extension method ActivityTimelineBlock.Options
- Method ActivityTimelineBlockFluent.Options
- Extension method BlockLayoutBlock.Options
- Method BlockLayoutBlockFluent.Options
- Extension method ChartList.Options
- Method ChartListFluent.Options
- Extension method ChartTable.Options
- Method ChartTableFluent.Options
- Extension method DateStripBlock.Options
- Method DateStripBlockFluent.Options
- Extension method EntityStripBlock.Options
- Method EntityStripBlockFluent.Options
- Extension method FishboneDiagramBlock.Options
- Method FishboneDiagramBlockFluent.Options
- Extension method GitGraphBlock.Options
- Method GitGraphBlockFluent.Options
- Extension method HeatmapInsightCard.Options
- Method HeatmapInsightCardFluent.Options
- Extension method JourneyDiagramBlock.Options
- Method JourneyDiagramBlockFluent.Options
- Extension method MetricCard.Options
- Method MetricCardFluent.Options
- Extension method PacketLayoutBlock.Options
- Method PacketLayoutBlockFluent.Options
- Extension method RadialMetricCard.Options
- Method RadialMetricCardFluent.Options
- Extension method RailroadDiagramBlock.Options
- Method RailroadDiagramBlockFluent.Options
- Extension method ScheduleTimelineBlock.Options
- Method ScheduleTimelineBlockFluent.Options
- Extension method SectionHeaderBlock.Options
- Method SectionHeaderBlockFluent.Options
- Extension method SegmentedMetricBlock.Options
- Method SegmentedMetricBlockFluent.Options
- Extension method TimelineDiagramBlock.Options
- Method TimelineDiagramBlockFluent.Options
- Extension method TreeViewBlock.Options
- Method TreeViewBlockFluent.Options
- Extension method VennDiagramBlock.Options
- Method VennDiagramBlockFluent.Options
- Extension method VisualBlockOptions.Accessibility
- Extension method VisualBlockOptions.HostOwnsFrame
- Extension method VisualBlockOptions.Padding
- Extension method VisualBlockOptions.RasterScale
- Extension method VisualBlockOptions.ShowCard
- Extension method VisualBlockOptions.Size
- Extension method VisualBlockOptions.SvgColorVariables
- Extension method VisualBlockOptions.Theme
- Extension method VisualBlockOptions.ThemeMode
- Extension method VisualBlockOptions.TransparentBackground
- Method VisualBlockOptionsFluent.Accessibility
- Method VisualBlockOptionsFluent.HostOwnsFrame
- Method VisualBlockOptionsFluent.Padding
- Method VisualBlockOptionsFluent.RasterScale
- Method VisualBlockOptionsFluent.ShowCard
- Method VisualBlockOptionsFluent.Size
- Method VisualBlockOptionsFluent.SvgColorVariables
- Method VisualBlockOptionsFluent.Theme
- Method VisualBlockOptionsFluent.ThemeMode
- Method VisualBlockOptionsFluent.TransparentBackground
- Extension method WardleyMapBlock.Options
- Method WardleyMapBlockFluent.Options
- Extension method WorkloadListBlock.Options
- Method WorkloadListBlockFluent.Options
Constructors
public VisualBlockOptions() #Inherited Methods
Properties
public VisualAccessibility Accessibility { get; } #Gets the text alternative, language, and decorative metadata used by static exports.
public ChartSize Size { get; set; } #Gets or sets the rendered block size in pixels.
public ChartPadding Padding { get; set; } #Gets or sets the inner content padding.
public VisualTheme Theme { get; set; } #Gets or sets the visual theme used by renderers.
public ThemeMode ThemeMode { get; set; } #Gets or sets the explicit mode of the shared theme.
public SvgColorVariables? SvgColorVariables { get; set; } #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.
public bool TransparentBackground { get; set; } #Gets or sets whether the full background should stay transparent.
public bool ShowCard { get; set; } #Gets or sets whether the outer card surface should be rendered.
public bool HostOwnsFrame { get; set; } #Gets or sets whether the host owns the frame, removing the surface and outer padding.
public int RasterScale { get; set; } #Gets or sets the output pixel multiplier used by PNG exports.
Extension Methods
public static VisualBlockOptions Accessibility(VisualBlockOptions visualBlockOptions, Action<VisualAccessibility> configure) #Configures VisualBlockOptions.Accessibility in place: Gets the text alternative, language, and decorative metadata used by static exports.
Parameters
- visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions
- The instance.
- configure System.Action<ChartForgeX.Accessibility.VisualAccessibility>
- Configures the value.
public static VisualBlockOptions HostOwnsFrame(VisualBlockOptions visualBlockOptions, bool value = true) #Sets VisualBlockOptions.HostOwnsFrame: Gets or sets whether the host owns the frame, removing the surface and outer padding.
Parameters
- visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { HostOwnsFrame = value }; visualBlockOptions.HostOwnsFrame(value);public static VisualBlockOptions Padding(VisualBlockOptions visualBlockOptions, ChartPadding value) #Sets VisualBlockOptions.Padding: Gets or sets the inner content padding.
Parameters
- visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions
- The instance.
- value ChartForgeX.Primitives.ChartPadding
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { Padding = value }; visualBlockOptions.Padding(value);public static VisualBlockOptions RasterScale(VisualBlockOptions visualBlockOptions, int value) #Sets VisualBlockOptions.RasterScale: Gets or sets the output pixel multiplier used by PNG exports.
Parameters
- visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { RasterScale = value }; visualBlockOptions.RasterScale(value);public static VisualBlockOptions ShowCard(VisualBlockOptions visualBlockOptions, bool value = true) #Sets VisualBlockOptions.ShowCard: Gets or sets whether the outer card surface should be rendered.
Parameters
- visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { ShowCard = value }; visualBlockOptions.ShowCard(value);public static VisualBlockOptions Size(VisualBlockOptions visualBlockOptions, ChartSize value) #Sets VisualBlockOptions.Size: Gets or sets the rendered block size in pixels.
Parameters
- visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions
- The instance.
- value ChartForgeX.Primitives.ChartSize
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { Size = value }; visualBlockOptions.Size(value);public static VisualBlockOptions SvgColorVariables(VisualBlockOptions visualBlockOptions, 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
- visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions
- The instance.
- value ChartForgeX.Themes.SvgColorVariables?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { SvgColorVariables = value }; visualBlockOptions.SvgColorVariables(value);public static VisualBlockOptions Theme(VisualBlockOptions visualBlockOptions, VisualTheme value) #Sets VisualBlockOptions.Theme: Gets or sets the visual theme used by renderers.
Parameters
- visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions
- The instance.
- value ChartForgeX.Themes.VisualTheme
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { Theme = value }; visualBlockOptions.Theme(value);public static VisualBlockOptions ThemeMode(VisualBlockOptions visualBlockOptions, ThemeMode value) #Sets VisualBlockOptions.ThemeMode: Gets or sets the explicit mode of the shared theme.
Parameters
- visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions
- The instance.
- value ChartForgeX.ThemeMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { ThemeMode = value }; visualBlockOptions.ThemeMode(value);public static VisualBlockOptions TransparentBackground(VisualBlockOptions visualBlockOptions, bool value = true) #Sets VisualBlockOptions.TransparentBackground: Gets or sets whether the full background should stay transparent.
Parameters
- visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { TransparentBackground = value }; visualBlockOptions.TransparentBackground(value);