Class GridColumnRestrictionRule
- Namespace
- Dynamicweb.CoreUI.Lists
- Assembly
- Dynamicweb.CoreUI.dll
public sealed record GridColumnRestrictionRule : GridColumnRule, IEquatable<GridColumnRule>, IEquatable<GridColumnRestrictionRule>
- Inheritance
-
Grid
Column Restriction Rule
- Implements
- Inherited Members
Constructors
GridColumnRestrictionRule(string, string, string)
Parameters
Properties
ConditionColumn
Property Value
ConditionValue
Property Value
Negate
Gets or sets a value indicating whether the restriction rule should negate the condition.
Property Value
Remarks
When this property is set to true
, the rule will check the column using the "not equal" (!=) operator instead of the "equal" (==) operator.
Methods
Create<TModel, TValue>(Expression<Func<TModel, object>>, Expression<Func<TModel, TValue>>, TValue)
public static GridColumnRestrictionRule? Create<TModel, TValue>(Expression<Func<TModel, object>> columnExpression, Expression<Func<TModel, TValue>> conditionalColumnExpression, TValue conditionValue)
Parameters
columnExpression
Expression<Func<TModel, object>>conditionalColumnExpression
Expression<Func<TModel, TValue>>conditionValue
TValue
Returns
Type Parameters
TModel
TValue