Skip to content

StatCard

Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll

A monitoring card: a status icon and a title, a large count below and an optional detail line (e.g. what the count is made of). A card in the page’s card style; the status (ok, warn, error theme classes) colors the icon and the count, without one it is neutral. Pages set the status only while the count needs attention, so a zero stays calm grey.

public sealed class StatCard : Border

Inherits Border

Set them in XAML (<ui:StatCard Name="..." />) or bind them.

Name Type Description
Detail string? One small line below the count; hidden when empty.
IsError bool Red icon and count, while the count needs attention.
IsOk bool Green icon and count. Set it only while the count matters.
IsWarning bool Amber icon and count, while the count needs attention.
Title string? What is counted (“Worn”).
Value string? The count, already formatted (“1,204”).