November Happy Hour will be moved to Thursday December 5th.

Class PropertyCriteriaControl

Holder of criteria information used by property searching

Inheritance
System.Object
PropertyCriteriaControl
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class PropertyCriteriaControl : Control

Constructors

PropertyCriteriaControl()

Initializes a new instance of the PropertyCriteriaControl class.

Declaration
public PropertyCriteriaControl()

PropertyCriteriaControl(PropertyCriteria)

Initializes a new instance of the PropertyCriteriaControl class.

Declaration
public PropertyCriteriaControl(PropertyCriteria criteria)
Parameters
Type Name Description
PropertyCriteria criteria

The criteria.

Properties

Condition

Comparisation condition to use

Declaration
public CompareCondition Condition { get; set; }
Property Value
Type Description
CompareCondition

InnerCriteria

The inner PropertyCriteria that holds the information.

Declaration
public PropertyCriteria InnerCriteria { get; }
Property Value
Type Description
PropertyCriteria

IsNull

Test for value set to null

Declaration
public bool IsNull { get; set; }
Property Value
Type Description
System.Boolean

Name

Name of the criteria.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Required

Is this criteria required

Declaration
public bool Required { get; set; }
Property Value
Type Description
System.Boolean

Type

Value of criteria

Declaration
public PropertyDataType Type { get; set; }
Property Value
Type Description
PropertyDataType

Value

Value of criteria

Declaration
public string Value { get; set; }
Property Value
Type Description
System.String

Extension Methods