ListRowsAttribute
namespace Griff.Scenes;
public sealed class ListRowsAttribute : RowsAttributeA list of strings shown a row each, one thing a row: words, numbers (Number) or colors (Color), to set, add, remove and reorder. It’s what the Inspector gives a list of strings with no editor of its own (see GenericFields), each row’s kind found from what the list holds; mark one with it to say what its rows are while it’s empty, e.g. [ListRows(CellKind.Color)].
Properties
Section titled “Properties”Columns
Section titled “Columns”public override IReadOnlyList<RowColumn> Columns { get; }Example
Section titled “Example”public override string Example { get; }public CellKind Kind { get; }What each row is.
public override string Noun { get; }Methods
Section titled “Methods”Describe
Section titled “Describe”public override string Describe()public override IReadOnlyList<string>? Read(string row)public override string Write(IReadOnlyList<string> cells)