Class MatrixColumn
- Namespace
- Dynamicweb.CoreUI.Editors.Lists
- Assembly
- Dynamicweb.CoreUI.dll
Defines a column in a matrix editor. Editor accepts any EditorBase,
but allowed field types are enforced at the domain layer via
MatrixHelper.AllowedColumnFieldTypes and MatrixHelper.AllowedColumnListPresentationTypes.
public sealed record MatrixColumn : IEquatable<MatrixColumn>
- Inheritance
-
MatrixColumn
- Implements
- Inherited Members
Constructors
MatrixColumn(string, string, EditorBase)
Defines a column in a matrix editor. Editor accepts any EditorBase,
but allowed field types are enforced at the domain layer via
MatrixHelper.AllowedColumnFieldTypes and MatrixHelper.AllowedColumnListPresentationTypes.
public MatrixColumn(string Id, string Label, EditorBase Editor)
Parameters
IdstringLabelstringEditorEditorBase
Properties
Editor
public EditorBase Editor { get; init; }
Property Value
Id
public string Id { get; init; }
Property Value
Label
public string Label { get; init; }