RowColumn
namespace Griff.Scenes;
public sealed class RowColumnA column of a RowsAttribute’s rows: what its cells hold and what the Inspector calls it.
Properties
Section titled “Properties”Choices
Section titled “Choices”public IReadOnlyList<string>? Choices { get; init; }For a Choice cell, what can be picked; for a text or name cell, words offered too.
Default
Section titled “Default”public string Default { get; init; }What a new row has in it.
public CellKind Kind { get; init; }What its cells hold.
public bool Loose { get; init; }For a name cell: the project’s names are offered, but one that isn’t among them isn’t flagged (it may name something else too).
public string Name { get; init; }What it’s called, over the rows and to agents (“Item”, “Count”).
public NamesAttribute? Names { get; init; }For a Name or Amounts cell: what it names, picked from the project’s.
Optional
Section titled “Optional”public bool Optional { get; init; }It may be left empty, and a new row leaves it so.
public string? Tip { get; init; }What it means, as a tip.
public bool Under { get; init; }It sits on a line under the row’s other cells with the others marked so, side by side, each with its name: the details of a row that won’t all fit across (a sheet’s frames across, down and which, a background’s two colors).
public string? Unit { get; init; }What it is in, after a number: “%”, “s”.
public bool Wide { get; init; }It takes a line of its own under the row’s other cells (a line said, a list of amounts).
public double Width { get; init; }How wide its cell is, in the Inspector’s units, for one that takes little room (a button’s letter); 0 for what its kind takes.
Methods
Section titled “Methods”Deconstruct
Section titled “Deconstruct”public void Deconstruct(out string Name, out CellKind Kind)Equals
Section titled “Equals”public override bool Equals(object? obj)Equals
Section titled “Equals”public bool Equals(RowColumn? other)GetHashCode
Section titled “GetHashCode”public override int GetHashCode()ToString
Section titled “ToString”public override string ToString()