Table of Contents

Class RowStateOptions<TRowModel>

Namespace
Dynamicweb.CoreUI.Lists
Assembly
Dynamicweb.CoreUI.dll
public sealed record RowStateOptions<TRowModel> : IEquatable<RowStateOptions<TRowModel>>

Type Parameters

TRowModel
Inheritance
RowStateOptions<TRowModel>
Implements
Inherited Members

Constructors

RowStateOptions(Expression<Func<TRowModel, bool>>, RowState)

public RowStateOptions(Expression<Func<TRowModel, bool>> stateExpression, RowState state)

Parameters

stateExpression Expression<Func<TRowModel, bool>>
state RowState

RowStateOptions(Expression<Func<TRowModel, bool>>, RowState, bool)

public RowStateOptions(Expression<Func<TRowModel, bool>> StateExpression, RowState State, bool AsToggle)

Parameters

StateExpression Expression<Func<TRowModel, bool>>
State RowState
AsToggle bool

Properties

AsToggle

public bool AsToggle { get; init; }

Property Value

bool

PropertyName

public string PropertyName { get; }

Property Value

string

State

public RowState State { get; init; }

Property Value

RowState

StateExpression

public Expression<Func<TRowModel, bool>> StateExpression { get; init; }

Property Value

Expression<Func<TRowModel, bool>>

Methods

GetPropertyValue(TRowModel)

public bool GetPropertyValue(TRowModel model)

Parameters

model TRowModel

Returns

bool
To top