NodeChainNode
Record in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
One node of a NodeChain: its name, icon and colour, the line below the name, a status icon at the top right, a message directly below the card (an error in red, a warning in amber) and its tooltip.
public sealed record NodeChainNode(string Name, string IconKey, string BrushKey)Parameters
Name: The name on the card (“Set IP”).IconKey: The theme icon withoutIcon.(“network”).BrushKey: The theme brush of the stripe and the icon (“Oadm.StatusOkBrush”, “Oadm.Tag.BlueBrush”).
Properties
Section titled “Properties”string? Below { get; init; }A message directly below the card, wrapped (the profile check’s error, a failed result), or null.
BelowBrushKey
Section titled “BelowBrushKey”string? BelowBrushKey { get; init; }The brush of NodeChainNode.Below; null: the error colour, and the card gets the red border.
BrushKey
Section titled “BrushKey”string BrushKey { get; init; }The theme brush of the stripe and the icon (“Oadm.StatusOkBrush”, “Oadm.Tag.BlueBrush”).
CanAddAfter
Section titled “CanAddAfter”bool CanAddAfter { get; init; }A node may follow this one: while the chain NodeChain.CanAdd, the + below the card shows on the last card and on the selected one (beside the link), and a click on it raises NodeChain.AddRequested.
HasError
Section titled “HasError”bool HasError { get; }The card has a red border (its message below is an error).
IconKey
Section titled “IconKey”string IconKey { get; init; }The theme icon without Icon. (“network”).
IsDimmed
Section titled “IsDimmed”bool IsDimmed { get; init; }The card is drawn dimmed (a node that did not run).
string? Line { get; init; }The line below the name (a summary, a result), trimmed to the card; the whole text in NodeChainNode.Tip.
string Name { get; init; }The name on the card (“Set IP”).
StatusBrushKey
Section titled “StatusBrushKey”string? StatusBrushKey { get; init; }The brush of the status icon.
StatusIconKey
Section titled “StatusIconKey”string? StatusIconKey { get; init; }A status icon at the top right (“status.ok”), or null.
string? Tip { get; init; }The tooltip of the card (the whole line), or null.