Table of Contents

Class SmartSearchRuleField

Namespace
Dynamicweb.SmartSearch.SmartSearchRules
Assembly
Dynamicweb.Core.dll

Smart filter rule field

public class SmartSearchRuleField
Inheritance
SmartSearchRuleField
Inherited Members

Constructors

SmartSearchRuleField()

Initializes a new instance of an object.

public SmartSearchRuleField()

SmartSearchRuleField(string, string, string, ISmartSearchRuleFieldDatasource, SmartSearchRuleControlType, string)

Initializes a new instance of an object.

public SmartSearchRuleField(string id, string name, string typeName, ISmartSearchRuleFieldDatasource dataSource = null, SmartSearchRuleControlType controlType = SmartSearchRuleControlType.TextBox, string groupName = "")

Parameters

id string

A field id.

name string

A list of all possible values.

typeName string

A list of all possible values.

dataSource ISmartSearchRuleFieldDatasource

A smart field datasource .

controlType SmartSearchRuleControlType

A custom control type.

groupName string

A name of group

SmartSearchRuleField(string, string, string, SmartSearchRuleControlType, string)

Initializes a new instance of an object.

public SmartSearchRuleField(string id, string name, string typeName, SmartSearchRuleControlType controlType, string groupName = "")

Parameters

id string

A field id.

name string

A list of all possible values.

typeName string

A list of all possible values.

controlType SmartSearchRuleControlType

A custom control type.

groupName string

A name of group

Properties

ControlType

Gets or sets the smart search control type

public SmartSearchRuleControlType ControlType { get; set; }

Property Value

SmartSearchRuleControlType

DataSource

Gets or sets the reference to a data source that is used for providing a list of possible values.

public ISmartSearchRuleFieldDatasource DataSource { get; set; }

Property Value

ISmartSearchRuleFieldDatasource

GroupName

public string GroupName { get; set; }

Property Value

string

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