menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataFormAutoCompleteItem - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DataFormAutoCompleteItem

    Represents the class that encapsulates the layout and auto complete editor(SfAutoComplete) settings for data field appearing in SfDataForm.

    Inheritance
    System.Object
    DataFormItemBase
    DataFormItem
    DataFormAutoCompleteItem
    Implements
    System.IDisposable
    Inherited Members
    DataFormItem.CounterLabelStyle
    DataFormItem.Dispose(Boolean)
    DataFormItem.Editor
    DataFormItem.EditorFontSize
    DataFormItem.EditorView
    DataFormItem.ErrorMessageColor
    DataFormItem.FocusedColor
    DataFormItem.GroupName
    DataFormItem.Height
    DataFormItem.HelperLabelStyle
    DataFormItem.HintLabelStyle
    DataFormItem.ImageSource
    DataFormItem.InvalidMessage
    DataFormItem.IsReadOnly
    DataFormItem.IsReadOnlyProperty
    DataFormItem.IsValid
    DataFormItem.LabelPosition
    DataFormItem.LabelText
    DataFormItem.LayoutOptions
    DataFormItem.Name
    DataFormItem.Order
    DataFormItem.PlaceHolderText
    DataFormItem.PropertyInfo
    DataFormItem.ShowCharCount
    DataFormItem.ShowLabel
    DataFormItem.TextInputLayoutSettings
    DataFormItem.UnfocusedColor
    DataFormItem.ValidationLabelFontSize
    DataFormItem.ValidationLabelStyle
    DataFormItem.ValidMessage
    DataFormItem.ValidMessageColor
    DataFormItemBase.ColumnSpan
    DataFormItemBase.Dispose()
    DataFormItemBase.IsGroup
    DataFormItemBase.IsVisible
    DataFormItemBase.ItemManager
    DataFormItemBase.LabelFontSize
    DataFormItemBase.OnPropertyChanged(String)
    DataFormItemBase.RowSpan
    DataFormItemBase.TextInputLayout
    DataFormItemBase.View
    Namespace: Syncfusion.XForms.DataForm
    Assembly: Syncfusion.SfDataForm.XForms.dll
    Syntax
    public class DataFormAutoCompleteItem : DataFormItem, IDisposable

    Constructors

    DataFormAutoCompleteItem()

    Declaration
    public DataFormAutoCompleteItem()

    Fields

    ItemsSourceProperty

    BindableProperty of ItemsSource for DataFormDropDownItem.

    Declaration
    public static readonly BindableProperty ItemsSourceProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    AutoCompleteMode

    Gets or sets AutoCompleteModethat display the suggestions in several ways.

    Declaration
    public AutoCompleteMode AutoCompleteMode { get; set; }
    Property Value
    Type Description
    AutoCompleteMode

    The default value is Suggest.

    DisplayMemberPath

    Gets or sets a path to a value on the source object that will get displayed in drop down.

    Declaration
    public string DisplayMemberPath { get; set; }
    Property Value
    Type
    System.String

    HighlightedTextColor

    Gets or sets the value of the HighlightedTextColor. This property can be used to change the text color of highlighted character.

    Declaration
    public Color HighlightedTextColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    The default value is Blue.

    IgnoreDiacritic

    Gets or sets a value indicating whether the diacritic is enabled or not in the DataFormAutoCompleteItem.

    Declaration
    public bool IgnoreDiacritic { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false.

    ItemsSource

    Gets or sets the ItemsSource of the Auto complete.

    Declaration
    public IList ItemsSource { get; set; }
    Property Value
    Type
    System.Collections.IList

    LoadMoreText

    Gets or sets the value of LoadMoreText which is used to change the in built LoadMoreText when autocomplete maximum display count enabled.

    Declaration
    public string LoadMoreText { get; set; }
    Property Value
    Type Description
    System.String

    The load more text.

    MaximumSuggestion

    Gets or sets the vaule of MaximumSuggestion. This property indicates the maximum number of display items to show on drop down.

    Declaration
    public int MaximumSuggestion { get; set; }
    Property Value
    Type
    System.Int32

    MinimumPrefixCharacters

    Gets or sets the value of the MinimumPrefixCharacters. It determines minimum number of characters to be typed for the drop-down to open.

    Declaration
    public int MinimumPrefixCharacters { get; set; }
    Property Value
    Type
    System.Int32

    NoResultsFoundText

    Gets or sets the value of NoResultsFoundText which is used to change the in-built NoResultsFoundText when autocomplete editor suggestion did not match.

    Declaration
    public string NoResultsFoundText { get; set; }
    Property Value
    Type Description
    System.String

    The no results found text.

    SelectedValuePath

    Gets or sets a path to a value on the source object which will get saved to data field.

    Declaration
    public string SelectedValuePath { get; set; }
    Property Value
    Type
    System.String

    SuggestionMode

    Gets or sets the SuggestionMode to filter the Suggestions.

    Declaration
    public SuggestionMode SuggestionMode { get; set; }
    Property Value
    Type Description
    SuggestionMode

    The default value is StartsWith.

    TextHighlightMode

    Gets or sets the value of TextHighlightMode. This property can be used to highlight whether the first character or all same character in text.

    Declaration
    public OccurrenceMode TextHighlightMode { get; set; }
    Property Value
    Type Description
    OccurrenceMode

    The default text highlight mode is None.

    Methods

    CanFocus()

    Returns a value that indicates whether the editor loaded for data field allows focus when navigating by keyboard Go action.

    Declaration
    protected override bool CanFocus()
    Returns
    Type Description
    System.Boolean

    Return true to set the focus to editor.

    Overrides
    DataFormItemBase.CanFocus()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved