Table of Contents

Class CellSpec

Namespace
The.Web.Entities
Assembly
Instagile.Web.Client.dll
public class CellSpec : CellSpecBase
Inheritance
CellSpec
Derived
Inherited Members

Constructors

CellSpec(RenderFragment<IProperty>, string, int, HeaderSpec?, bool, params RelationshipInfo[])

protected CellSpec(RenderFragment<IProperty> buildRenderTree, string label, int order, HeaderSpec? header = null, bool isAdminOnly = false, params RelationshipInfo[] preloads)

Parameters

buildRenderTree RenderFragment<IProperty>
label string
order int
header HeaderSpec
isAdminOnly bool
preloads RelationshipInfo[]

CellSpec(RenderFragment<IProperty>, PropertyInfo, HeaderSpec?)

public CellSpec(RenderFragment<IProperty> buildRenderTree, PropertyInfo metadata, HeaderSpec? header = null)

Parameters

buildRenderTree RenderFragment<IProperty>
metadata PropertyInfo
header HeaderSpec

Methods

CreateModel(IServices, PropertyBinding?)

public override ColumnModel CreateModel(IServices _, PropertyBinding? binding)

Parameters

_ IServices
binding PropertyBinding

Returns

ColumnModel

Hidden()

public CellSpec Hidden()

Returns

CellSpec

HiddenIf(Func<IServices, bool>)

public CellSpec HiddenIf(Func<IServices, bool> predicate)

Parameters

predicate Func<IServices, bool>

Returns

CellSpec

Rename(Func<IServices, string>)

public CellSpec Rename(Func<IServices, string> getLabel)

Parameters

getLabel Func<IServices, string>

Returns

CellSpec

Rename(string)

public CellSpec Rename(string label)

Parameters

label string

Returns

CellSpec

Reorder(Func<IServices, int>)

public CellSpec Reorder(Func<IServices, int> getOrder)

Parameters

getOrder Func<IServices, int>

Returns

CellSpec

Reorder(int)

public CellSpec Reorder(int order)

Parameters

order int

Returns

CellSpec

Visible()

public CellSpec Visible()

Returns

CellSpec

VisibleIf(Func<IServices, bool>)

public CellSpec VisibleIf(Func<IServices, bool> predicate)

Parameters

predicate Func<IServices, bool>

Returns

CellSpec