menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataFormAutoCompleteItem - MAUI 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.

    Inheritance
    System.Object
    DataFormViewItem
    DataFormItem
    DataFormListItem
    DataFormAutoCompleteItem
    Inherited Members
    DataFormItem.Background
    DataFormItem.BackgroundProperty
    DataFormItem.DefaultLayoutSettings
    DataFormItem.DefaultLayoutSettingsProperty
    DataFormItem.EditorHeight
    DataFormItem.EditorHeightProperty
    DataFormItem.EditorTextStyle
    DataFormItem.EditorTextStyleProperty
    DataFormItem.ErrorLabelTextStyle
    DataFormItem.ErrorLabelTextStyleProperty
    DataFormItem.FieldName
    DataFormItem.FieldNameProperty
    DataFormItem.GetValue()
    DataFormItem.GroupName
    DataFormItem.GroupNameProperty
    DataFormItem.IsReadOnly
    DataFormItem.IsReadOnlyProperty
    DataFormItem.IsValid
    DataFormItem.ItemsOrderInRow
    DataFormItem.ItemsOrderInRowProperty
    DataFormItem.LabelText
    DataFormItem.LabelTextProperty
    DataFormItem.LabelTextStyle
    DataFormItem.LabelTextStyleProperty
    DataFormItem.LayoutType
    DataFormItem.LayoutTypeProperty
    DataFormItem.LeadingView
    DataFormItem.LeadingViewPosition
    DataFormItem.LeadingViewPositionProperty
    DataFormItem.LeadingViewProperty
    DataFormItem.OnBindingContextChanged()
    DataFormItem.PlaceholderColor
    DataFormItem.PlaceholderColorProperty
    DataFormItem.PlaceholderText
    DataFormItem.PlaceholderTextProperty
    DataFormItem.PropertyInfo
    DataFormItem.SetValue(Object)
    DataFormItem.ShowErrorLabel
    DataFormItem.ShowErrorLabelProperty
    DataFormItem.ShowLabel
    DataFormItem.ShowLabelProperty
    DataFormItem.ShowLeadingView
    DataFormItem.ShowLeadingViewProperty
    DataFormItem.ShowTrailingView
    DataFormItem.ShowTrailingViewProperty
    DataFormItem.ShowValidMessageLabel
    DataFormItem.ShowValidMessageLabelProperty
    DataFormItem.TextInputLayoutSettings
    DataFormItem.TextInputLayoutSettingsProperty
    DataFormItem.TrailingView
    DataFormItem.TrailingViewPosition
    DataFormItem.TrailingViewPositionProperty
    DataFormItem.TrailingViewProperty
    DataFormItem.ValidMessageLabelTextStyle
    DataFormItem.ValidMessageLabelTextStyleProperty
    DataFormListItem.DisplayMemberPath
    DataFormListItem.DisplayMemberPathProperty
    DataFormListItem.ItemsSource
    DataFormListItem.ItemsSourceProperty
    DataFormListItem.SelectedValuePath
    DataFormListItem.SelectedValuePathProperty
    DataFormViewItem.ColumnSpan
    DataFormViewItem.ColumnSpanProperty
    DataFormViewItem.IsVisible
    DataFormViewItem.IsVisibleProperty
    DataFormViewItem.OnPropertyChanged(String)
    DataFormViewItem.Padding
    DataFormViewItem.PaddingProperty
    DataFormViewItem.RowOrder
    DataFormViewItem.RowOrderProperty
    DataFormViewItem.RowSpan
    DataFormViewItem.RowSpanProperty
    Namespace: Syncfusion.Maui.DataForm
    Assembly: Syncfusion.Maui.DataForm.dll
    Syntax
    public class DataFormAutoCompleteItem : DataFormListItem, IThemeElement

    Constructors

    DataFormAutoCompleteItem()

    Initializes a new instance of the DataFormAutoCompleteItem class.

    Declaration
    public DataFormAutoCompleteItem()

    Fields

    MaxDropDownHeightProperty

    Identifies the MaxDropDownHeight dependency property.

    Declaration
    public static readonly BindableProperty MaxDropDownHeightProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for MaxDropDownHeight dependency property.

    TextSearchModeProperty

    Identifies the TextSearchMode dependency property.

    Declaration
    public static readonly BindableProperty TextSearchModeProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for TextSearchMode dependency property.

    Properties

    MaxDropDownHeight

    Gets or sets the maximum height for a drop-down.

    Declaration
    public double MaxDropDownHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 400.

    TextSearchMode

    Gets or sets the text search mode for auto complete editor.

    Declaration
    public DataFormTextSearchMode TextSearchMode { get; set; }
    Property Value
    Type Description
    DataFormTextSearchMode

    The default value is Contains.

    Examples

    The below examples shows, how to use the TextSearchMode property of DataFormAutoCompleteItem in the SfDataForm.

    • XAML
    • C#
    <dataForm:SfDataForm x:Name="dataForm"
                         AutoGenerateItems="False">
       <dataForm:SfDataForm.Items>
           <dataForm:DataFormAutoCompleteItem FieldName="ViewType" TextSearchMode="StartsWith"  />
      </dataForm:SfDataForm.Items>
    </dataForm:SfDataForm>
    this.dataForm.AutoGenerateItems = false;
    this.dataForm.Items.Add(new DataFormAutoCompleteItem() { FieldName="ViewType", TextSearchMode = DataFormTextSearchMode.StartsWith });
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved