Class SmartSearchRuleField
- Namespace
- Dynamicweb.SmartSearch.SmartSearchRules
- Assembly
- Dynamicweb.SmartSearch.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
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
GroupName
public string GroupName { get; set; }
Property Value
ID
Gets or sets the field id.
public string ID { get; set; }
Property Value
IsEmpty
Check is empty object
public bool IsEmpty { get; }
Property Value
Name
Gets or sets the field name.
public string Name { get; set; }
Property Value
ShortTypeName
Gets or sets the short field type name.
public string ShortTypeName { get; }
Property Value
TypeName
Gets or sets the field type name.
public string TypeName { get; set; }
Property Value
UseDateControlWithoutTime
Gets or sets the field _useDateControlWithoutTime.
public bool UseDateControlWithoutTime { get; set; }