Class ColumnModel
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
componentRenderFragment<IEntity>labelstringorderintvisibilityPredicateResultheaderRenderFragmentisAdminOnlyboolpreloadsRelationshipInfo[]
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
bindingPropertyBindingcomponentRenderFragment<IProperty>labelstringorderintvisibilityPredicateResultheaderRenderFragmentisAdminOnlyboolpreloadsRelationshipInfo[]
Fields
Binding
public readonly PropertyBinding? Binding
Field Value
BoundComponent
public readonly RenderFragment<IProperty>? BoundComponent
Field Value
HeaderComponent
public readonly RenderFragment? HeaderComponent
Field Value
IsAdminOnly
If true, the column should not be displayed to or preloaded by non-admins.
public readonly bool IsAdminOnly
Field Value
Label
Caption used in the column header if HeaderComponent is not set.
public readonly string Label
Field Value
Order
Sort key for column positioning.
public readonly int Order
Field Value
Preloads
Entity relationships which need to be loaded to render this column.
public readonly RelationshipInfo[] Preloads
Field Value
UnboundComponent
public readonly RenderFragment<IEntity>? UnboundComponent
Field Value
Visibility
3VL visibility decision for wrapping combinators (views should use IsVisible).
public readonly PredicateResult Visibility
Field Value
Properties
IsBound
public bool IsBound { get; }
Property Value
IsVisible
If false, the column should not be displayed.
public bool IsVisible { get; }