API Reference
VisualCanvasKeyValueBlockLayer
Reusable key/value text block with measured label columns and wrapped value text.
Inheritance
- Object
- VisualCanvasKeyValueBlockLayer
Constructors
VisualCanvasKeyValueBlockLayer(System.Double x, System.Double y, System.Double width, System.Double height, System.Collections.Generic.IEnumerable{ChartForgeX.Composition.VisualCanvasKeyValueItem} items) #Initializes a key/value text block layer.
Parameters
- x System.Double
- The block X coordinate.
- y System.Double
- The block Y coordinate.
- width System.Double
- The block width.
- height System.Double
- The initial block height.
- items System.Collections.Generic.IEnumerable{ChartForgeX.Composition.VisualCanvasKeyValueItem}
- The key/value rows.
Methods
MeasureHeight() #Measures the block height using the current text and wrapping settings.
Properties
Items #Gets the key/value rows.
LabelFontSize #Gets or sets the label font size.
ValueFontSize #Gets or sets the value font size.
ColumnGap #Gets or sets the gap between label and value columns.
RowGap #Gets or sets the gap between rows.
LabelWidth #Gets or sets an explicit label column width. When empty, the widest label is measured.
ValueWrapWidth #Gets or sets an explicit value wrap width. When empty, the remaining block width is used.
LabelColorOverride #Gets or sets an optional default label color override.
ValueColorOverride #Gets or sets an optional default value color override.
FontFamilyName #Gets or sets the SVG font family name. PNG output uses the dependency-free built-in font path.
LabelEmphasized #Gets or sets whether labels use the emphasized text treatment.
ValueEmphasized #Gets or sets whether values use the emphasized text treatment.