Class MobileAutoCompletePropertiesBuilder
Class for AutoComplete Property Builder
Inheritance
System.Object
MobileAutoCompletePropertiesBuilder
Implements
System.Web.IHtmlString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ.dll
Syntax
public class MobileAutoCompletePropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
MobileAutoCompletePropertiesBuilder(AutoComplete)
Declaration
public MobileAutoCompletePropertiesBuilder(AutoComplete mAutoComplete)
Parameters
Type |
Name |
Description |
AutoComplete |
mAutoComplete |
The m automatic complete.
|
Methods
AllowSorting(Boolean)
Specifies the whether allowSorting to be allowed or not in suggestion list on initialization.
Declaration
public MobileAutoCompletePropertiesBuilder AllowSorting(bool allowSorting)
Parameters
Type |
Name |
Description |
System.Boolean |
allowSorting |
if set to true [allow sorting].
|
Returns
CaseSensitiveSearch(Boolean)
Specifies whether to search key is case sensitive or not on initialization.
Declaration
public MobileAutoCompletePropertiesBuilder CaseSensitiveSearch(bool caseSensitiveSearch)
Parameters
Type |
Name |
Description |
System.Boolean |
caseSensitiveSearch |
if set to true [case sensitive search].
|
Returns
ClientSideEvents(Action<MobileAutoCompleteClientSideEventsBuilder>)
Declaration
public MobileAutoCompletePropertiesBuilder ClientSideEvents(Action<MobileAutoCompleteClientSideEventsBuilder> clientSideEvents)
Parameters
Returns
CssClass(String)
Specifies custom theme for the control.
Declaration
public MobileAutoCompletePropertiesBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
The cssClass.
|
Returns
DataSource(Action<DataSourceBuilder>)
Declaration
public MobileAutoCompletePropertiesBuilder DataSource(Action<DataSourceBuilder> dataSource)
Parameters
Returns
DataSource(Object)
Declaration
public MobileAutoCompletePropertiesBuilder DataSource(object dataSource)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
The data source.
|
Returns
DelimiterChar(String)
Specifies the delimiterChar string for Multivalue mode that separates two items.
Declaration
public MobileAutoCompletePropertiesBuilder DelimiterChar(string delimiterChar)
Parameters
Type |
Name |
Description |
System.String |
delimiterChar |
The delimiter character.
|
Returns
EmptyResultText(String)
Specifies the text that to be displayed while there is no suggestion for AutoComplete search key
Declaration
public MobileAutoCompletePropertiesBuilder EmptyResultText(string emptyResultText)
Parameters
Type |
Name |
Description |
System.String |
emptyResultText |
The empty result text.
|
Returns
EnableAutoFill(Boolean)
Specifies whether to auto fill option by which we can select and show up the first search result in textbox on initialization.
Declaration
public MobileAutoCompletePropertiesBuilder EnableAutoFill(bool enableAutoFill)
Parameters
Type |
Name |
Description |
System.Boolean |
enableAutoFill |
if set to true [enable automatic fill].
|
Returns
Enabled(Boolean)
Specifies whether to enable the autoComplete on initialization.
Declaration
public MobileAutoCompletePropertiesBuilder Enabled(bool enabled)
Parameters
Type |
Name |
Description |
System.Boolean |
enabled |
if set to true [enabled].
|
Returns
EnableDistinct(Boolean)
Specifies whether the duplicate results to be shown or not in search results.
Declaration
public MobileAutoCompletePropertiesBuilder EnableDistinct(bool enableDistinct)
Parameters
Type |
Name |
Description |
System.Boolean |
enableDistinct |
|
Returns
EnableMultiSelect(Boolean)
Specifies whether to accept multiple values or not.
Declaration
public MobileAutoCompletePropertiesBuilder EnableMultiSelect(bool enableMultiSelect)
Parameters
Type |
Name |
Description |
System.Boolean |
enableMultiSelect |
if set to true [enable multi select].
|
Returns
EnablePersistence(Boolean)
Current model value to browser cookies for state maintains. While refresh the Autocomplete control page retains the model value apply from browser cookies.
Declaration
public MobileAutoCompletePropertiesBuilder EnablePersistence(bool enablePersistence)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
if set to true [enable persistence].
|
Returns
Fields(Action<MobileAutoCompletePropertiesBuilder.MobileAutoCompleteFieldPropertiesBuilder>)
Section for fields specific functionalities.
Declaration
public MobileAutoCompletePropertiesBuilder Fields(Action<MobileAutoCompletePropertiesBuilder.MobileAutoCompleteFieldPropertiesBuilder> fieldModel)
Parameters
Returns
FilterType(AutoCompleteFilterType)
Specifies the type of the filter by which the filtering occurs.
Declaration
public MobileAutoCompletePropertiesBuilder FilterType(AutoCompleteFilterType filterType)
Parameters
Returns
ItemsCount(Int32)
Specifies the number of items shown in the suggestion list.
Declaration
public MobileAutoCompletePropertiesBuilder ItemsCount(int itemsCount)
Parameters
Type |
Name |
Description |
System.Int32 |
itemsCount |
Count of items.
|
Returns
MinimumCharacter(Int32)
Declaration
public MobileAutoCompletePropertiesBuilder MinimumCharacter(int minimumCharacter)
Parameters
Type |
Name |
Description |
System.Int32 |
minimumCharacter |
The minimum character.
|
Returns
Mode(Mode)
Specifies the AutoComplete mode.
Declaration
public MobileAutoCompletePropertiesBuilder Mode(Mode mode)
Parameters
Type |
Name |
Description |
Mode |
mode |
The mode.
|
Returns
Specifies the suggestion list height.
Declaration
public MobileAutoCompletePropertiesBuilder PopupHeight(string popupHeight)
Parameters
Type |
Name |
Description |
System.String |
popupHeight |
popupHeight.
|
Returns
Specifies the suggestion list width.
Declaration
public MobileAutoCompletePropertiesBuilder PopupWidth(string popupWidth)
Parameters
Type |
Name |
Description |
System.String |
popupWidth |
popupWidth.
|
Returns
Render()
Declaration
RenderMode(RenderMode)
Changes the rendering mode of the autocomplete.
Declaration
public MobileAutoCompletePropertiesBuilder RenderMode(RenderMode renderMode)
Parameters
Type |
Name |
Description |
RenderMode |
renderMode |
The render mode.
|
Returns
ShowEmptyResultText(Boolean)
Specifies the search result to be shown or not while there is no suggestion for AutoComplete search key.
Declaration
public MobileAutoCompletePropertiesBuilder ShowEmptyResultText(bool showEmptyResultText)
Parameters
Type |
Name |
Description |
System.Boolean |
showEmptyResultText |
if set to true [show empty result text].
|
Returns
SortOrder(SortOrder)
Declaration
public MobileAutoCompletePropertiesBuilder SortOrder(SortOrder sortOrder)
Parameters
Type |
Name |
Description |
SortOrder |
sortOrder |
The sort order.
|
Returns
TemplateId(String)
Specifies the template Id for Items.
Declaration
public MobileAutoCompletePropertiesBuilder TemplateId(string templateId)
Parameters
Type |
Name |
Description |
System.String |
templateId |
|
Returns
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
Value(String)
Values the specified value.
Declaration
public MobileAutoCompletePropertiesBuilder Value(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
The value.
|
Returns
WatermarkText(String)
Specifies the autocomplete watermark text that to be shown on autocomplete text box when it is empty.
Declaration
public MobileAutoCompletePropertiesBuilder WatermarkText(string watermarkText)
Parameters
Type |
Name |
Description |
System.String |
watermarkText |
The watermark text.
|
Returns
Implements
System.Web.IHtmlString