Class S100ValidationFindingStyle
Appearance for the reusable S100ValidationFindingLayer: the per-severity accent colours plus the marker/outline weights used to plot a dataset's spatially-located validation findings.
public sealed record S100ValidationFindingStyle : IEquatable<S100ValidationFindingStyle>
- Inheritance
-
S100ValidationFindingStyle
- Implements
- Inherited Members
Remarks
Renderer-neutral and free of any application chrome or chart-palette coupling —
a host may re-theme it to match its own severity styling. The defaults mirror
the Viewer's validation badge palette (declared in
Views/DatasetsView.axaml): a red #D13438 error, an amber
#CA5010 warning, a blue #007ACC info, a white halo around point
markers, and a translucent (alpha 64, ~25%) severity-coloured fill inside a
bounding-box outline — so an application that adopts the reusable layer keeps a
familiar appearance without configuring anything.
Properties
BoundingBoxFillAlpha
Alpha (0..255) of the severity-coloured fill inside a bounding-box finding. Kept translucent so the underlying chart stays legible while still marking the flagged area. The outline itself is drawn opaque.
public byte BoundingBoxFillAlpha { get; init; }
Property Value
BoundingBoxOutlineWidth
Width, in screen pixels, of the opaque outline around a bounding-box finding.
public double BoundingBoxOutlineWidth { get; init; }
Property Value
Default
The default appearance (Viewer-matching badge palette and weights).
public static S100ValidationFindingStyle Default { get; }
Property Value
ErrorColor
Accent colour (RGB bytes) for Error findings.
public (byte R, byte G, byte B) ErrorColor { get; init; }
Property Value
HaloColor
Halo/outline colour (RGB bytes) drawn around a point marker so it stays legible over chart content.
public (byte R, byte G, byte B) HaloColor { get; init; }
Property Value
InfoColor
Accent colour (RGB bytes) for Info findings.
public (byte R, byte G, byte B) InfoColor { get; init; }
Property Value
PointHaloWidth
Width, in screen pixels, of the halo stroke around a point marker.
public double PointHaloWidth { get; init; }
Property Value
PointMarkerScale
Symbol scale of the filled point marker.
public double PointMarkerScale { get; init; }
Property Value
WarningColor
Accent colour (RGB bytes) for Warning findings.
public (byte R, byte G, byte B) WarningColor { get; init; }
Property Value
Methods
SeverityColor(ValidationSeverity)
Maps a finding's ValidationSeverity to its accent colour. Unknown severities fall back to InfoColor.
public (byte R, byte G, byte B) SeverityColor(ValidationSeverity severity)
Parameters
severityValidationSeverity