Table of Contents

Class ColumnModel

Namespace
The.Web.Entities
Assembly
Instagile.Web.Client.dll
public sealed class ColumnModel
Inheritance
ColumnModel
Inherited Members

Constructors

ColumnModel(RenderFragment<IEntity>, string, int, PredicateResult, RenderFragment?, bool, params RelationshipInfo[])

public ColumnModel(RenderFragment<IEntity> component, string label, int order, PredicateResult visibility, RenderFragment? header, bool isAdminOnly = false, params RelationshipInfo[] preloads)

Parameters

component RenderFragment<IEntity>
label string
order int
visibility PredicateResult
header RenderFragment
isAdminOnly bool
preloads RelationshipInfo[]

ColumnModel(PropertyBinding, RenderFragment<IProperty>, string, int, PredicateResult, RenderFragment?, bool, params RelationshipInfo[])

public ColumnModel(PropertyBinding binding, RenderFragment<IProperty> component, string label, int order, PredicateResult visibility, RenderFragment? header, bool isAdminOnly = false, params RelationshipInfo[] preloads)

Parameters

binding PropertyBinding
component RenderFragment<IProperty>
label string
order int
visibility PredicateResult
header RenderFragment
isAdminOnly bool
preloads RelationshipInfo[]

Fields

Binding

public readonly PropertyBinding? Binding

Field Value

PropertyBinding

BoundComponent

public readonly RenderFragment<IProperty>? BoundComponent

Field Value

RenderFragment<IProperty>

HeaderComponent

public readonly RenderFragment? HeaderComponent

Field Value

RenderFragment

IsAdminOnly

If true, the column should not be displayed to or preloaded by non-admins.

public readonly bool IsAdminOnly

Field Value

bool

Label

Caption used in the column header if HeaderComponent is not set.

public readonly string Label

Field Value

string

Order

Sort key for column positioning.

public readonly int Order

Field Value

int

Preloads

Entity relationships which need to be loaded to render this column.

public readonly RelationshipInfo[] Preloads

Field Value

RelationshipInfo[]

UnboundComponent

public readonly RenderFragment<IEntity>? UnboundComponent

Field Value

RenderFragment<IEntity>

Visibility

3VL visibility decision for wrapping combinators (views should use IsVisible).

public readonly PredicateResult Visibility

Field Value

PredicateResult

Properties

IsBound

public bool IsBound { get; }

Property Value

bool

IsVisible

If false, the column should not be displayed.

public bool IsVisible { get; }

Property Value

bool