Skip to content

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 without Icon. (“network”).
  • BrushKey: The theme brush of the stripe and the icon (“Oadm.StatusOkBrush”, “Oadm.Tag.BlueBrush”).
string? Below { get; init; }

A message directly below the card, wrapped (the profile check’s error, a failed result), or null.

string? BelowBrushKey { get; init; }

The brush of NodeChainNode.Below; null: the error colour, and the card gets the red border.

string BrushKey { get; init; }

The theme brush of the stripe and the icon (“Oadm.StatusOkBrush”, “Oadm.Tag.BlueBrush”).

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.

bool HasError { get; }

The card has a red border (its message below is an error).

string IconKey { get; init; }

The theme icon without Icon. (“network”).

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”).

string? StatusBrushKey { get; init; }

The brush of the status icon.

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.