Class SfAutoCompleteItem
The SfAutoCompleteItem class represents an item that can be added as a child.
Inheritance
System.Object
SfAutoCompleteItem
Namespace: Syncfusion.SfAutoComplete.XForms
Assembly: Syncfusion.SfAutoComplete.XForms.dll
Syntax
public class SfAutoCompleteItem : View
Constructors
SfAutoCompleteItem(String, String)
Initializes a new instance of the SfAutoCompleteItem class.
Declaration
public SfAutoCompleteItem(string textName, string imageName)
Parameters
Type | Name | Description |
---|---|---|
System.String | textName | Text name. |
System.String | imageName | Image name. |
Fields
ImageNameProperty
Identifies the ImageName bindable property. This property can be used to change the image in SfAutoComplete.
Declaration
public static readonly BindableProperty ImageNameProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TextNameProperty
Identifies the TextName bindable property. This property can be used to change the name of the text in SfAutoComplete.
Declaration
public static readonly BindableProperty TextNameProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
ImageName
Gets or sets the value of ImageName. This property can be used to change the image in SfAutoComplete.
Declaration
public string ImageName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Default value is string.Empty. |
TextName
Gets or sets the value of TextName. This property can be used to change the name of the text in SfAutoComplete.
Declaration
public string TextName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the text. |