Class MobileAutoCompleteProperties
Class for Auto Complete Property
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.JavaScript.Mobile.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class MobileAutoCompleteProperties : AutoCompletePropertiesBase, IMobileBase
Constructors
MobileAutoCompleteProperties()
Initializes a new instance of the MobileAutoCompletePropertiesBuilder class.
Declaration
public MobileAutoCompleteProperties()
Properties
Change
Event triggers when the AutoComplete text box content changed.
Declaration
[JsonProperty("change")]
public string Change { get; set; }
Property Value
Type | Description |
---|---|
System.String | The change. |
DataSource
Specifies the datasource for items.
Declaration
[JsonProperty("dataSource")]
[HtmlAttributeName("datasource")]
[JsonConverter(typeof(DataManagerConverter))]
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The data source. |
Fields
Declaration
[JsonProperty("fields")]
public MobileAutoCompleteProperties.MobileAutoCompleteFieldProperties Fields { get; set; }
Property Value
Type | Description |
---|---|
MobileAutoCompleteProperties.MobileAutoCompleteFieldProperties |
FilterType
Specifies the type of the filter by which the filtering occurs.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("filterType")]
public AutoCompleteFilterType FilterType { get; set; }
Property Value
Type | Description |
---|---|
AutoCompleteFilterType | The type of the filter. |
FocusIn
Event triggers when focused in to the Autocomplete text box.
Declaration
[JsonProperty("focusIn")]
public string FocusIn { get; set; }
Property Value
Type | Description |
---|---|
System.String | The focus in. |
FocusOut
Event triggers when focused out from the Autocomplete text box.
Declaration
[JsonProperty("focusOut")]
public string FocusOut { get; set; }
Property Value
Type | Description |
---|---|
System.String | The focus out. |
ItemsCount
Specifies the number of items shown in the suggestion list.
Declaration
[JsonProperty("itemsCount")]
public int ItemsCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The size of the list. |
KeyPress
Event triggers when pressed a key.
Declaration
[JsonProperty("keyPress")]
public string KeyPress { get; set; }
Property Value
Type | Description |
---|---|
System.String | The key press. |
Mode
Gets or sets the mode.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("mode")]
public Mode Mode { get; set; }
Property Value
Type | Description |
---|---|
Mode | The mode. |
PopupHeight
Specifies the suggestion list height.
Declaration
[JsonProperty("popupHeight")]
public string PopupHeight { get; set; }
Property Value
Type | Description |
---|---|
System.String | The popupHeight. |
PopupWidth
Specifies the suggestion list width.
Declaration
[JsonProperty("popupWidth")]
public string PopupWidth { get; set; }
Property Value
Type | Description |
---|---|
System.String | The popupWidth. |
RenderMode
Changes the rendering mode of the autocomplete.
Declaration
[JsonProperty("renderMode")]
[JsonConverter(typeof(StringEnumConverter))]
public RenderMode RenderMode { get; set; }
Property Value
Type | Description |
---|---|
RenderMode | The render mode. |
Select
Event triggers when we select a element from AutoComplete suggestion list.
Declaration
[JsonProperty("select")]
public string Select { get; set; }
Property Value
Type | Description |
---|---|
System.String | The select. |
TemplateId
Specifies the templateId for items.
Declaration
[JsonProperty("templateId")]
public string TemplateId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The template Id. |
TouchEnd
Event triggers when the touch end happens in the AutoComplete suggestion list.
Declaration
[JsonProperty("touchEnd")]
public string TouchEnd { get; set; }
Property Value
Type | Description |
---|---|
System.String | The touch end. |
Value
Specifies the textbox value on initialization.
Declaration
[JsonProperty("value")]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | The value. |
WatermarkText
Specifies the autocomplete watermark text that to be shown on autocomplete text box when it is empty.
Declaration
[JsonProperty("watermarkText")]
public string WatermarkText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The watermark text. |