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
stringA field id.
name
stringA list of all possible values.
typeName
stringA list of all possible values.
dataSource
ISmartSearchRuleFieldDatasourceA smart field datasource .
controlType
SmartSearchRuleControlTypeA custom control type.
groupName
stringA 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
stringA field id.
name
stringA list of all possible values.
typeName
stringA list of all possible values.
controlType
SmartSearchRuleControlTypeA custom control type.
groupName
stringA 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; }