Skip to content
ChartForgeX
Class

VisualCanvasKeyValueItem

ChartForgeX.Composition

Namespace
ChartForgeX.Composition
Assembly
ChartForgeX.Visuals
Modifiers
sealed

A row rendered inside a key/value visual canvas block.

Inheritance

  • object
  • VisualCanvasKeyValueItem

Usage

Explore 5 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.

Accepted by parameters 2

Constructors

VisualCanvasKeyValueItem 2 overloads
public VisualCanvasKeyValueItem(string label) #

Initializes a label-only key/value block row.

Parameters

label string required
public VisualCanvasKeyValueItem(string label, string? value) #

Initializes a key/value block row.

Parameters

label string required
value string? required

Methods

public static VisualCanvasKeyValueItem LabelRow(string label) #

Creates a label-only key/value block row.

Parameters

label string required
public static VisualCanvasKeyValueItem Pair(string label, string? value) #

Creates a key/value block row.

Parameters

label string required
value string? required

Properties

public string Label { get; set; } #

Gets or sets the row label.

public string Value { get; set; } #

Gets or sets the row value.

public bool LabelOnly { get; set; } #

Gets or sets whether this row should render as a label-only heading.

public ChartColor? LabelColor { get; set; } #

Gets or sets an optional row-specific label color.

public ChartColor? ValueColor { get; set; } #

Gets or sets an optional row-specific value color.