Table of Contents

Class RuleField

Namespace
Dynamicweb.Modules.Searching.Rules
Assembly
Dynamicweb.dll
Smart filter rule field
public class RuleField
Inheritance
RuleField
Inherited Members

Constructors

RuleField()

Initializes a new instance of an object.
public RuleField()

RuleField(string, string, string, IRuleFieldDatasource, RuleControlType)

Initializes a new instance of an object.
public RuleField(string id, string name, string typeName, IRuleFieldDatasource dataSource = null, RuleControlType controlType = RuleControlType.TextBox)

Parameters

id string
name string
A list of all possible values.
typeName string
A list of all possible values.
dataSource IRuleFieldDatasource
A smart field datasource .
controlType RuleControlType
A custom control type.

RuleField(string, string, string, RuleControlType)

Initializes a new instance of an object.
public RuleField(string id, string name, string typeName, RuleControlType controlType)

Parameters

id string
name string
A list of all possible values.
typeName string
A list of all possible values.
controlType RuleControlType
A custom control type.

Properties

ControlType

Gets or sets the smart search control type
public RuleControlType ControlType { get; set; }

Property Value

RuleControlType

DataSource

Gets or sets the reference to a data source that is used for providing a list of possible values.
public IRuleFieldDatasource DataSource { get; set; }

Property Value

IRuleFieldDatasource

ID

Gets or sets the field id.
public string ID { get; set; }

Property Value

string

IsEmpty

Check is empty object
public bool IsEmpty { get; }

Property Value

bool

Name

Gets or sets the field name.
public string Name { get; set; }

Property Value

string

ShortTypeName

Gets or sets the short field type name.
public string ShortTypeName { get; }

Property Value

string

TypeName

Gets or sets the field type name.
public string TypeName { get; set; }

Property Value

string

UseDateControlWithoutTime

Gets or sets the field _useDateControlWithoutTime.
public bool UseDateControlWithoutTime { get; set; }

Property Value

bool
To top