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
idstringA field id.
namestringA list of all possible values.
typeNamestringA list of all possible values.
dataSourceISmartSearchRuleFieldDatasourceA smart field datasource .
controlTypeSmartSearchRuleControlTypeA custom control type.
groupNamestringA 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
idstringA field id.
namestringA list of all possible values.
typeNamestringA list of all possible values.
controlTypeSmartSearchRuleControlTypeA custom control type.
groupNamestringA 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; }