Table of Contents

Class MatrixCell

Namespace
Dynamicweb.CoreUI.Editors.Lists
Assembly
Dynamicweb.CoreUI.dll

The stored value for one cell, identified by its column.

public sealed record MatrixCell : IEquatable<MatrixCell>
Inheritance
MatrixCell
Implements
Inherited Members

Constructors

MatrixCell(string?, string?)

The stored value for one cell, identified by its column.

public MatrixCell(string? ColumnId, string? Value)

Parameters

ColumnId string
Value string

Properties

ColumnId

public string? ColumnId { get; init; }

Property Value

string

InheritedValue

What the cell would show if the coordinate being edited held nothing, or null when there is nothing to inherit. The cell is presented as inherited exactly while Value equals this. A Matrix keeps its data in Rows and never populates Value, so this takes the place of ValueInherited, which describes a single value.

public string? InheritedValue { get; init; }

Property Value

string

Remarks

The comparison is left to the client rather than made here, because the client is the only party that knows a column's unit conversion and so the only one that can compare the value it will actually post. Init-only rather than a third positional parameter so the two-argument constructor and Deconstruct keep their existing signatures.

Value

public string? Value { get; init; }

Property Value

string
To top