menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfAutoComplete<TValue, TItem> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfAutoComplete<TValue, TItem>

    The SfAutoComplete<TValue, TItem> component provides a matched suggestion list when typing into the input, allowing users to select an item.

    Inheritance
    System.Object
    SfBaseComponent
    SfDataBoundComponent
    SfDropDownBase<TItem>
    SfDropDownList<TValue, TItem>
    SfComboBox<TValue, TItem>
    SfAutoComplete<TValue, TItem>
    Implements
    Syncfusion.Blazor.DropDowns.IVirtualList<TItem>
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    SfComboBox<TValue, TItem>.AllowCustom
    SfComboBox<TValue, TItem>.Autofill
    SfComboBox<TValue, TItem>.BuildRenderTree(RenderTreeBuilder)
    SfComboBox<TValue, TItem>.IsClearButtonStopPropagation
    SfComboBox<TValue, TItem>.IsCustomValue()
    SfComboBox<TValue, TItem>.ShowClearButton
    SfComboBox<TValue, TItem>.UpdateChildProperties(Object)
    SfComboBox<TValue, TItem>.ValidateOnInput
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    SfDataBoundComponent.SetDataManager<T>(Object)
    SfDropDownBase<TItem>.ActionFailureTemplate
    SfDropDownBase<TItem>.AddItemsAsync(IEnumerable<TItem>, Nullable<Int32>)
    SfDropDownBase<TItem>.CheckSanitizer(String)
    SfDropDownBase<TItem>.CloneQuery(Query)
    SfDropDownBase<TItem>.DataProcessAsync(VirtualAction, Boolean)
    SfDropDownBase<TItem>.DataSource
    SfDropDownBase<TItem>.DisableListItem(ListOptions<TItem>)
    SfDropDownBase<TItem>.Dispose(Boolean)
    SfDropDownBase<TItem>.DropDownsEditContext
    SfDropDownBase<TItem>.DuplicateQuery
    SfDropDownBase<TItem>.ExecuteSimpleQuery(IEnumerable<TItem>, Query, Boolean)
    SfDropDownBase<TItem>.FilterDataSource
    SfDropDownBase<TItem>.FilterQuery
    SfDropDownBase<TItem>.GenerateAndExecuteQueryAsync(Query, Int32, Int32)
    SfDropDownBase<TItem>.GeneratedData
    SfDropDownBase<TItem>.GetDataSourceAsync(IEnumerable<TItem>, Query)
    SfDropDownBase<TItem>.GetGroupedDataSourceAsync(IEnumerable<TItem>, SortOrder)
    SfDropDownBase<TItem>.GetSkeletonCount(Boolean)
    SfDropDownBase<TItem>.GroupTemplate
    SfDropDownBase<TItem>.IgnoreAccent
    SfDropDownBase<TItem>.IgnoreCase
    SfDropDownBase<TItem>.IncrementalEndIndex
    SfDropDownBase<TItem>.IncrementalSearchIndex
    SfDropDownBase<TItem>.IncrementalStartIndex
    SfDropDownBase<TItem>.InsertItemAsync(IEnumerable<TItem>, Nullable<Int32>, Boolean)
    SfDropDownBase<TItem>.IsCustomFilteringAction
    SfDropDownBase<TItem>.IsCustomValue()
    SfDropDownBase<TItem>.IsDisable(TItem)
    SfDropDownBase<TItem>.IsEntireDataUpdated
    SfDropDownBase<TItem>.IsExecuteQueryCalled
    SfDropDownBase<TItem>.IsMultiSelect
    SfDropDownBase<TItem>.IsPrimitiveDataType()
    SfDropDownBase<TItem>.IsReOrderData
    SfDropDownBase<TItem>.IsVirtualization(Boolean, Boolean, Boolean, Boolean)
    SfDropDownBase<TItem>.IsVirtualizationEnabled
    SfDropDownBase<TItem>.IsVirtualSelectAll
    SfDropDownBase<TItem>.ItemTemplate
    SfDropDownBase<TItem>.JsRuntime
    SfDropDownBase<TItem>.ListHeight
    SfDropDownBase<TItem>.ListItemsCount
    SfDropDownBase<TItem>.ListVirtualData
    SfDropDownBase<TItem>.NoRecordsTemplate
    SfDropDownBase<TItem>.PreviousFocusData
    SfDropDownBase<TItem>.Query
    SfDropDownBase<TItem>.reflectionHelper
    SfDropDownBase<TItem>.ReOrderData
    SfDropDownBase<TItem>.ScrollActions
    SfDropDownBase<TItem>.SelectedValueAction
    SfDropDownBase<TItem>.SetCurrentViewDataAsync(Int32, Int32)
    SfDropDownBase<TItem>.SetFields()
    SfDropDownBase<TItem>.SetItemValue(String, Type)
    SfDropDownBase<TItem>.SortOrder
    SfDropDownBase<TItem>.VirtualCustomData
    SfDropDownBase<TItem>.VirtualGroupDataSource
    SfDropDownBase<TItem>.VirtualItemEndIndex
    SfDropDownBase<TItem>.VirtualItemStartIndex
    SfDropDownBase<TItem>.VirtualListHeight
    SfDropDownBase<TItem>.VirtualSelectAllDataSource
    SfDropDownBase<TItem>.ZIndex
    SfDropDownList<TValue, TItem>.AllowFiltering
    SfDropDownList<TValue, TItem>.AllowResize
    SfDropDownList<TValue, TItem>.ASSERTIVE
    SfDropDownList<TValue, TItem>.BOTH
    SfDropDownList<TValue, TItem>.BuildRenderTree(RenderTreeBuilder)
    SfDropDownList<TValue, TItem>.CallStateHasChangedAsync()
    SfDropDownList<TValue, TItem>.ClearAllAsync(EventArgs, Boolean)
    SfDropDownList<TValue, TItem>.ClearAsync()
    SfDropDownList<TValue, TItem>.ComponentName
    SfDropDownList<TValue, TItem>.ContainerElementAttribute
    SfDropDownList<TValue, TItem>.ContainerElementClass
    SfDropDownList<TValue, TItem>.CssClass
    SfDropDownList<TValue, TItem>.DebounceDelay
    SfDropDownList<TValue, TItem>.DisableItem(Int32)
    SfDropDownList<TValue, TItem>.DisableItem(TValue)
    SfDropDownList<TValue, TItem>.DropDownClickHandlerAsync()
    SfDropDownList<TValue, TItem>.DropdownIcon
    SfDropDownList<TValue, TItem>.Enabled
    SfDropDownList<TValue, TItem>.EnablePersistence
    SfDropDownList<TValue, TItem>.EnableRtl
    SfDropDownList<TValue, TItem>.EnableVirtualization
    SfDropDownList<TValue, TItem>.FALSE
    SfDropDownList<TValue, TItem>.FilterAsync(IEnumerable<TItem>, Query, FieldSettingsModel)
    SfDropDownList<TValue, TItem>.FilterBarPlaceholder
    SfDropDownList<TValue, TItem>.FilterInputKeyUpHandlerAync(KeyboardEventArgs)
    SfDropDownList<TValue, TItem>.FilterInputObject
    SfDropDownList<TValue, TItem>.FloatLabelType
    SfDropDownList<TValue, TItem>.FocusAsync()
    SfDropDownList<TValue, TItem>.FocusedListData
    SfDropDownList<TValue, TItem>.FocusOutAsync()
    SfDropDownList<TValue, TItem>.FocusOutHandlerAsync(FocusEventArgs, Boolean)
    SfDropDownList<TValue, TItem>.FooterTemplate
    SfDropDownList<TValue, TItem>.GetDataByValue(TValue)
    SfDropDownList<TValue, TItem>.GetItemsAsync()
    SfDropDownList<TValue, TItem>.HeaderTemplate
    SfDropDownList<TValue, TItem>.HidePopupAsync()
    SfDropDownList<TValue, TItem>.HideSpinnerAsync()
    SfDropDownList<TValue, TItem>.HtmlAttributes
    SfDropDownList<TValue, TItem>.ID
    SfDropDownList<TValue, TItem>.IncrementalListData
    SfDropDownList<TValue, TItem>.Index
    SfDropDownList<TValue, TItem>.IndexChanged
    SfDropDownList<TValue, TItem>.InputAttributes
    SfDropDownList<TValue, TItem>.InputBaseObject
    SfDropDownList<TValue, TItem>.IsAutoComplete
    SfDropDownList<TValue, TItem>.IsBeforePopupOpen
    SfDropDownList<TValue, TItem>.IsComboBox
    SfDropDownList<TValue, TItem>.IsCustomValue()
    SfDropDownList<TValue, TItem>.IsDropDownList
    SfDropDownList<TValue, TItem>.IsFocusing
    SfDropDownList<TValue, TItem>.IsIncrementalRequest
    SfDropDownList<TValue, TItem>.IsPopupFirstRender
    SfDropDownList<TValue, TItem>.IsPopupShown
    SfDropDownList<TValue, TItem>.IsTabKeyAction
    SfDropDownList<TValue, TItem>.KeyAction
    SfDropDownList<TValue, TItem>.NO_DATA
    SfDropDownList<TValue, TItem>.NoDataContent
    SfDropDownList<TValue, TItem>.Placeholder
    SfDropDownList<TValue, TItem>.PopupContent
    SfDropDownList<TValue, TItem>.PopupDisplayMode
    SfDropDownList<TValue, TItem>.PopupHeight
    SfDropDownList<TValue, TItem>.PopupWidth
    SfDropDownList<TValue, TItem>.PreventAutoFillAction
    SfDropDownList<TValue, TItem>.PreventIconHandler
    SfDropDownList<TValue, TItem>.PreviousItemData
    SfDropDownList<TValue, TItem>.PreviousValue
    SfDropDownList<TValue, TItem>.Readonly
    SfDropDownList<TValue, TItem>.RefreshDataAsync()
    SfDropDownList<TValue, TItem>.RootElementClass
    SfDropDownList<TValue, TItem>.ROOTNODECLASS
    SfDropDownList<TValue, TItem>.SearchListAsync(KeyboardEventArgs, Boolean)
    SfDropDownList<TValue, TItem>.SetCurrentViewDataAsync(Int32, Int32)
    SfDropDownList<TValue, TItem>.ShowClearButton
    SfDropDownList<TValue, TItem>.ShowPopupAsync()
    SfDropDownList<TValue, TItem>.ShowSpinnerAsync()
    SfDropDownList<TValue, TItem>.TabIndex
    SfDropDownList<TValue, TItem>.TokenSource
    SfDropDownList<TValue, TItem>.TRUE
    SfDropDownList<TValue, TItem>.TypedString
    SfDropDownList<TValue, TItem>.UpdateDisableItem(TItem)
    SfDropDownList<TValue, TItem>.UpdateIncrementalInfo(Int32, Int32, Boolean)
    SfDropDownList<TValue, TItem>.UpdateIncrementalItemIndex(Int32, Int32)
    SfDropDownList<TValue, TItem>.UpdateMainData()
    SfDropDownList<TValue, TItem>.UpdateValueAsync()
    SfDropDownList<TValue, TItem>.Value
    SfDropDownList<TValue, TItem>.ValueChanged
    SfDropDownList<TValue, TItem>.ValueExpression
    SfDropDownList<TValue, TItem>.ValueTemplate
    SfDropDownList<TValue, TItem>.Width
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.ActionBeginAsync(System.Collections.Generic.IEnumerable<TItem>, Syncfusion.Blazor.Data.Query)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.ActionCompleteAsync(System.Collections.Generic.IEnumerable<TItem>, Syncfusion.Blazor.Data.Query)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.ActionFailureAsync(System.Object)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.ComboBoxParent
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.ComponentName
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.CustomValueAsync(System.Boolean, Syncfusion.Blazor.DropDowns.KeyActions)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.FilterInputHandlerAsync(Microsoft.AspNetCore.Components.ChangeEventArgs)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.FocusHandlerAsync(Microsoft.AspNetCore.Components.Web.FocusEventArgs)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.FocusOutHandlerAsync(Microsoft.AspNetCore.Components.Web.FocusEventArgs)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.IncrementalSearchAsync()
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InlineSearchAsync()
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeBlurEventAsync()
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeChangeEventAsync(System.EventArgs, Syncfusion.Blazor.DropDowns.KeyActions)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeClosedEventAsync()
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeCustomValueEventAsync()
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeOpenEventAsync()
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokePopupEventsAsync(System.Boolean)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeSelectEventAsync(TItem, System.EventArgs, Syncfusion.Blazor.DropDowns.KeyActions)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.IsAutoFillEnabled()
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.IsFilterMode()
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.OnAfterRenderAsync(System.Boolean)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.OnChangeHandlerAsync(Microsoft.AspNetCore.Components.ChangeEventArgs)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.OnInitializedAsync()
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.ROOTNODECLASS
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.SearchListAsync(Microsoft.AspNetCore.Components.Web.KeyboardEventArgs, System.Boolean)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.SetOldValueAsync(System.Object, System.Boolean)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.UpdateAriaAttributes()
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.UpdateAutoFillOnDownAsync(TItem)
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.UpdateMainData()
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.UpdateValueAsync()
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.CheckAndResetCache()
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.ComponentName
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.DataId
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.GetDataByText(System.String, System.String)
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.GetFilteringSkeletonCount()
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.GetPageQuery(Syncfusion.Blazor.Data.Query, System.Int32, System.Int32)
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.GetPropertyValue(System.Object, System.String)
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.GetStyles()
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.GetTakeValue()
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.GetVirtualTrackHeight()
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.HighlightSearch(System.String, System.String, System.Boolean, Syncfusion.Blazor.DropDowns.FilterType)
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.IncrementalSearch(System.String, System.Collections.Generic.IEnumerable<TItem>, System.Nullable<System.Int32>, System.Boolean)
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.IsActionFailed
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.IsMinimalData
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.ItemData
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.ListDataSource
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.MainData
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.OnParametersSetAsync()
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.RefreshVirtualIndices()
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.RenderItemsAsync(System.Collections.Generic.IEnumerable<TItem>)
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.RenderListItemsAsync(System.Collections.Generic.IEnumerable<TItem>, Syncfusion.Blazor.DropDowns.FieldSettingsModel, Syncfusion.Blazor.Data.Query)
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.Search(System.String, System.Collections.Generic.IEnumerable<TItem>, System.String, System.Boolean)
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.SetListDataAsync(System.Collections.Generic.IEnumerable<TItem>, Syncfusion.Blazor.DropDowns.FieldSettingsModel, Syncfusion.Blazor.Data.Query)
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.TotalCount
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.UpdateListHeight(System.Double)
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.VirtualAction
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ActionBeginAsync(System.Collections.Generic.IEnumerable<TItem>, Syncfusion.Blazor.Data.Query)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ActionCompleteAsync(System.Collections.Generic.IEnumerable<TItem>, Syncfusion.Blazor.Data.Query)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ActionFailureAsync(System.Object)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ActiveIndex
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ARIA_AUTOCOMPLETE
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ARIA_CONTROLS
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ARIA_EXPANDED
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ARIA_LIVE
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ARIA_OWN
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ARIA_SELECTED
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ARIA_SET_SIZE
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.AUTO_CAPITAL
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.AUTO_COMPLETE
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.AUTO_CORRECT
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ChildContent
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ClosePopup()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.COMBO_BOX
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.CreatePopupAsync(System.Boolean)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.CustomValueAsync(System.Boolean, Syncfusion.Blazor.DropDowns.KeyActions)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.DDL_FOOTER
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.DDL_HEADER
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.DROP_DOWN_ICON
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.DropDownListParent
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.DropdownValue
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.FilterClearAsync()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.FilteringActionAsync(System.Collections.Generic.IEnumerable<TItem>, Syncfusion.Blazor.Data.Query, Syncfusion.Blazor.DropDowns.FieldSettingsModel)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.FilterInputHandlerAsync(Microsoft.AspNetCore.Components.ChangeEventArgs)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.GetItemData(TItem)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.GetOpenEventArguments()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.GetQuery(Syncfusion.Blazor.Data.Query)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.GetScrollValueAsync()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.GROUP_BY
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.Hide()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.HidePopup()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.InvokeChangeEventAsync(System.EventArgs, Syncfusion.Blazor.DropDowns.KeyActions)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.InvokeClearButtonClickEventAsync(System.EventArgs, System.Boolean)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.InvokeClosedEventAsync()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.InvokeOpenEventAsync()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.InvokePopupEventsAsync(System.Boolean)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.InvokeSelectEventAsync(TItem, System.EventArgs, Syncfusion.Blazor.DropDowns.KeyActions)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsAutoFillEnabled()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsCustomFilter
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsDevice
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsDropDownClick
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsEditableInput()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsFilterClearIconClicked
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsFilterMode()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsFilterPrevented
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsListRendering
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsMainDataUpdated
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsShowDropdownButton
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsTyped
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsValidKey
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ITEM_FOCUS
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.KeyActionHandler(Syncfusion.Blazor.DropDowns.KeyActions)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.MouseClickHandlerAsync(Syncfusion.Blazor.DropDowns.ListOptions<TItem>, Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.NULL_VALUE
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.OFF
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.OnAfterRenderAsync(System.Boolean)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.OnBlur
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.OnChange
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.OnChangeEventAsync(System.EventArgs, Syncfusion.Blazor.DropDowns.KeyActions)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.OnFocus
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.OnInitializedAsync()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.OnInput
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.OnParametersSetAsync()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.OnSearchAsync(Microsoft.AspNetCore.Components.Web.KeyboardEventArgs)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.OPTIONS
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.Paste(System.String)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.POPUP_CONTENT
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.PopupContainer
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.PopupElement
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.PopupHolderElement
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.PreRender()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.PreventContainer
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.RefreshPopupAsync(System.Boolean)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.RenderEqualItemsAsync(System.Boolean)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ResizeStart(System.Object)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ResizeStop(System.Object)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ROLE
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.SELECTED
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.SetCssClass()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.SetOldValueAsync(System.Object, System.Boolean)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.SetRTL()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.SetValueAsync(Syncfusion.Blazor.DropDowns.DataItems<TValue>)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ShowPopup()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ShowPopupList
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.SPELL_CHECK
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.StartResizingHandler(System.Object)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.StopClearButtonPropagation
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.StopResizingHandler(System.Object, System.Double)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateAriaAttributes()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateAutoFillOnDownAsync(TItem)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateChildProperties(System.Object)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateFieldSetStatus(System.Boolean)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateFocusItemAsync(TItem)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateInputValueAsync(System.String)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateListSelectionAsync(TItem, System.String)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateMainListDataAsync()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateParentClass(System.String, System.String)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdatePopupState()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateRemoveSelection(System.String)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateSelectedItemAsync(TItem, System.EventArgs, Syncfusion.Blazor.DropDowns.KeyActions)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateSelectItemAsync(TItem, System.EventArgs, Syncfusion.Blazor.DropDowns.KeyActions)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateValidateClass()
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateValueSelectionAsync(TItem, System.Boolean, System.Boolean)
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.VirtualScrollRefreshAsync(Syncfusion.Blazor.DropDowns.VirtualAction)
    Namespace: Syncfusion.Blazor.DropDowns
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SfAutoComplete<TValue, TItem> : SfComboBox<TValue, TItem>, IInputBase, IDropDowns, IVirtualList<TItem>
    Type Parameters
    Name
    TValue
    TItem

    Constructors

    SfAutoComplete()

    Declaration
    public SfAutoComplete()

    Properties

    FilterType

    Gets or sets the type of filtering applied to the SfAutoComplete<TValue, TItem> items.

    Declaration
    public override FilterType FilterType { get; set; }
    Property Value
    Type Description
    FilterType

    A FilterType value specifying the filtering mode. The default value is Contains.

    Overrides
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.FilterType
    Remarks

    This property determines how the AutoComplete filters the suggestion list based on user input, such as StartsWith, Contains, or EndsWith.

    Examples
    <SfAutoComplete TItem="string" TValue="string" FilterType="FilterType.StartsWith" DataSource="@MyList">
    </SfAutoComplete>
    @code {
        protected List<string> MyList = new List<string>() { "Small", "Medium", "Large" };
    }

    Highlight

    Gets or sets a value indicating whether the searched characters in the suggestion list should highlight matched portions of the text.

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

    A System.Boolean indicating whether to highlight matched text. The default value is false.

    Remarks

    When set to true, the characters in the suggestion list that match the user's input are visually highlighted, improving the user experience by making matches more noticeable.

    Examples
    <SfAutoComplete TItem="string" TValue="string" Highlight="true" DataSource="@MyList">
    </SfAutoComplete>
    @code {
        protected List<string> MyList = new List<string>() { "Small", "Medium", "Large" };
    }

    MinLength

    Gets or sets the minimum number of characters required to trigger the search for suggestions.

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

    An System.Int32 representing the minimum number of characters needed to initiate a search. The default value is 1.

    Remarks

    This property controls when the AutoComplete starts filtering suggestions based on user input. A higher value can improve performance by reducing unnecessary searches.

    Examples
    <SfAutoComplete TItem="string" TValue="string" MinLength="2" DataSource="@MyList">
    </SfAutoComplete>
    @code {
        protected List<string> MyList = new List<string>() { "Small", "Medium", "Large" };
    }

    ShowClearButton

    Gets or sets a value indicating whether the clear button is displayed to reset the selected value.

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

    A System.Boolean indicating whether the clear button is visible. The default value is true.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.ShowClearButton
    Remarks

    When the clear button is clicked, the Value and Index properties are reset to null, allowing users to clear the selected value and start fresh.

    Examples
    <SfAutoComplete TItem="string" TValue="string" ShowClearButton="true" DataSource="@MyList">
    </SfAutoComplete>
    @code {
        protected List<string> MyList = new List<string>() { "Small", "Medium", "Large" };
    }

    ShowPopupButton

    Gets or sets a value indicating whether the popup button is displayed in the SfAutoComplete<TValue, TItem> component.

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

    A System.Boolean indicating whether the popup button is visible. The default value is false.

    Remarks

    When set to true, a popup button is displayed, allowing users to manually open the suggestion list. This enhances the user experience by providing an explicit way to view suggestions.

    Examples
    <SfAutoComplete TItem="string" TValue="string" ShowPopupButton="true" DataSource="@MyList">
    </SfAutoComplete>
    @code {
        protected List<string> MyList = new List<string>() { "Small", "Medium", "Large" };
    }

    SuggestionCount

    Gets or sets the maximum number of suggestions displayed in the SfAutoComplete<TValue, TItem> dropdown.

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

    An System.Int32 representing the maximum number of items shown in the suggestion list. The default value is 20.

    Remarks

    This property limits the number of suggestions displayed in the dropdown, improving performance and user experience when dealing with large data sets.

    Examples
    <SfAutoComplete TItem="string" TValue="string" SuggestionCount="10" DataSource="@MyList">
    </SfAutoComplete>
    @code {
        protected List<string> MyList = new List<string>() { "Small", "Medium", "Large" };
    }

    Methods

    ActionBeginAsync(IEnumerable<TItem>, Query)

    Triggers the action begin event for the SfAutoComplete<TValue, TItem> component.

    Declaration
    protected override Task<ActionBeginEventArgs> ActionBeginAsync(IEnumerable<TItem> dataSource, Query query = null)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<TItem> dataSource

    The data source for the suggestion list.

    Query query

    The query used to fetch the data.

    Returns
    Type Description
    System.Threading.Tasks.Task<ActionBeginEventArgs>

    A System.Threading.Tasks.Task that returns an ActionBeginEventArgs object.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.ActionBeginAsync(System.Collections.Generic.IEnumerable<TItem>, Syncfusion.Blazor.Data.Query)
    Remarks

    This method is called before fetching data, invoking the OnActionBegin event and displaying a spinner to indicate loading.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the event invocation.

    ActionCompleteAsync(IEnumerable<TItem>, Query)

    Triggers the action complete event for the SfAutoComplete<TValue, TItem> component.

    Declaration
    protected override Task ActionCompleteAsync(IEnumerable<TItem> dataSource, Query query = null)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<TItem> dataSource

    The data source containing the fetched items.

    Query query

    The query used to fetch the data.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.ActionCompleteAsync(System.Collections.Generic.IEnumerable<TItem>, Syncfusion.Blazor.Data.Query)
    Remarks

    This method is called after data is successfully fetched, invoking the OnActionComplete and DataBound events, rendering the items, and handling autofill if enabled.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the event invocation or rendering.

    ActionFailureAsync(Object)

    Triggers the action failure event for the SfAutoComplete<TValue, TItem> component.

    Declaration
    protected override Task ActionFailureAsync(object arguments)
    Parameters
    Type Name Description
    System.Object arguments

    The object representing the error that occurred.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.ActionFailureAsync(System.Object)
    Remarks

    This method is called when a data fetch operation fails, invoking the OnActionFailure event and creating the popup if necessary.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the event invocation.

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder
    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)

    ClearAllAsync(EventArgs, Boolean)

    Clears all selected values and resets the SfAutoComplete<TValue, TItem> component.

    Declaration
    protected override Task ClearAllAsync(EventArgs arguments = null, bool IsProgrammaticallyCleared = false)
    Parameters
    Type Name Description
    System.EventArgs arguments

    The event arguments associated with the clear action.

    System.Boolean IsProgrammaticallyCleared

    A boolean indicating whether the clear action was triggered programmatically.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.ClearAllAsync(System.EventArgs, System.Boolean)
    Remarks

    This method clears the selected value, resets the input, and hides the suggestion popup if it is open, while also focusing the input field.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the clear operation.

    FocusHandlerAsync(FocusEventArgs)

    Handles the focus-in event for the component.

    Declaration
    protected override Task FocusHandlerAsync(FocusEventArgs arguments)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Web.FocusEventArgs arguments

    The focus event arguments.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.FocusHandlerAsync(Microsoft.AspNetCore.Components.Web.FocusEventArgs)
    Remarks

    This method is called when the component gains focus, invoking the Focus event and updating the component's visual state.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the focus handling.

    GetQuery(Query)

    Constructs the query for filtering the suggestion list.

    Declaration
    protected override Query GetQuery(Query query)
    Parameters
    Type Name Description
    Query query

    The query to modify or use as a base.

    Returns
    Type Description
    Query

    A Query object representing the constructed query.

    Overrides
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.GetQuery(Syncfusion.Blazor.Data.Query)
    Remarks

    This method builds a query for filtering the suggestion list based on the current input, field settings, and filter type, applying limits such as SuggestionCount and virtualization settings.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during query construction.

    HighLightSearch(String, Boolean, FilterType, String)

    Highlights the searched characters in the suggestion list items.

    Declaration
    public string HighLightSearch(string textValue, bool ignoreCase, FilterType filtertype, string highLighText = null)
    Parameters
    Type Name Description
    System.String textValue

    The text value to highlight in the list item.

    System.Boolean ignoreCase

    A boolean indicating whether to perform a case-insensitive search.

    FilterType filtertype

    The FilterType that determines how the highlight is applied (e.g., StartsWith, Contains, EndsWith).

    System.String highLighText

    An optional string to highlight instead of the filter input value.

    Returns
    Type Description
    System.String

    A System.String containing the text with highlighted portions.

    Remarks

    This method formats the specified text by highlighting the portions that match the search criteria, based on the provided filter type and case sensitivity.

    Examples
    <SfAutoComplete TItem="string" TValue="string" DataSource="@MyList">
    </SfAutoComplete>
    @code {
        protected List<string> MyList = new List<string>() { "Small", "Medium", "Large" };
        public string HighlightText(string text) {
            return AutoCompleteObj.HighLightSearch(text, true, FilterType.Contains);
        }
    }
    Exceptions
    Type Condition
    System.ArgumentNullException

    Thrown if textValue is null.

    InvokeBlurEventAsync()

    Invokes the blur event for the component.

    Declaration
    protected override Task InvokeBlurEventAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeBlurEventAsync()
    Remarks

    This method is called when the component loses focus, invoking the Blur event unless the focus loss was triggered by a clear button click.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the blur event invocation.

    InvokeChangeEventAsync(EventArgs, KeyActions)

    Invokes the change event for the component.

    Declaration
    protected override Task InvokeChangeEventAsync(EventArgs arguments = null, KeyActions keyActionArguments = null)
    Parameters
    Type Name Description
    System.EventArgs arguments

    The event arguments associated with the change.

    KeyActions keyActionArguments

    The key action arguments, if triggered by keyboard navigation.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeChangeEventAsync(System.EventArgs, Syncfusion.Blazor.DropDowns.KeyActions)
    Remarks

    This method is called when the Value property changes, invoking the ValueChange event with details about the new and previous values.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the event invocation.

    InvokeClosedEventAsync()

    Triggers after the suggestion popup is closed.

    Declaration
    protected override Task<ClosedEventArgs> InvokeClosedEventAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<ClosedEventArgs>

    A System.Threading.Tasks.Task that returns a ClosedEventArgs object.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeClosedEventAsync()
    Remarks

    This method is called after the suggestion popup is closed, performing cleanup tasks such as removing autofill selection and invoking the Closed event.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the event invocation.

    InvokeCustomValueEventAsync()

    Triggers the custom value event for the SfAutoComplete<TValue, TItem> component.

    Declaration
    protected override Task<CustomValueSpecifierEventArgs<TItem>> InvokeCustomValueEventAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<CustomValueSpecifierEventArgs<TItem>>

    A System.Threading.Tasks.Task that returns a CustomValueSpecifierEventArgs<T> object.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeCustomValueEventAsync()
    Remarks

    This method is called when a custom value is entered, invoking the CustomValueSpecifier event to handle custom input processing.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the event invocation.

    InvokeOpenEventAsync()

    Triggers before the suggestion popup is opened.

    Declaration
    protected override Task<BeforeOpenEventArgs> InvokeOpenEventAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<BeforeOpenEventArgs>

    A System.Threading.Tasks.Task that returns a BeforeOpenEventArgs object indicating whether the popup opening is canceled.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeOpenEventAsync()
    Remarks

    This method is called before the suggestion popup is displayed, allowing cancellation of the popup opening via the BeforeOpenEventArgs.Cancel property.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the event invocation.

    InvokePopupEventsAsync(Boolean)

    Invokes popup-related events for the component.

    Declaration
    protected override Task<PopupEventArgs> InvokePopupEventsAsync(bool isOpen)
    Parameters
    Type Name Description
    System.Boolean isOpen

    A boolean indicating whether the popup is in the open state.

    Returns
    Type Description
    System.Threading.Tasks.Task<PopupEventArgs>

    A System.Threading.Tasks.Task that returns a PopupEventArgs object.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokePopupEventsAsync(System.Boolean)
    Remarks

    This method is called when the suggestion popup opens or closes, invoking the Opened or OnClose events as appropriate.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the event invocation.

    InvokeSelectEventAsync(TItem, EventArgs, KeyActions)

    Returns the event arguments for item selection in the component.

    Declaration
    protected override Task<SelectEventArgs<TItem>> InvokeSelectEventAsync(TItem item, EventArgs arguments = null, KeyActions keyActionsArguments = null)
    Parameters
    Type Name Description
    TItem item

    The selected item from the suggestion list.

    System.EventArgs arguments

    The event arguments associated with the selection.

    KeyActions keyActionsArguments

    The key action arguments, if triggered by keyboard navigation.

    Returns
    Type Description
    System.Threading.Tasks.Task<SelectEventArgs<TItem>>

    A System.Threading.Tasks.Task that returns a SelectEventArgs<T> object.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.InvokeSelectEventAsync(TItem, System.EventArgs, Syncfusion.Blazor.DropDowns.KeyActions)
    Remarks

    This method is called when an item is selected, invoking the OnValueSelect event and updating the input value if necessary.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the event invocation.

    IsAutoFillEnabled()

    Determines whether autofill is enabled for the component.

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

    A System.Boolean indicating whether autofill is enabled.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.IsAutoFillEnabled()
    Remarks

    This method returns the value of the Autofill property, indicating whether the component automatically fills the input with the first matching suggestion.

    IsEditableInput()

    Determines whether the input in the component is editable.

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

    A System.Boolean indicating whether the input is editable.

    Overrides
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.IsEditableInput()
    Remarks

    This method checks if the input contains non-empty text, indicating that the user can edit the input field.

    IsFilterMode()

    Determines whether the filter mode is enabled for the component.

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

    A System.Boolean indicating whether filter mode is enabled. Always returns true.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.IsFilterMode()
    Remarks

    This method indicates that the AutoComplete component operates in filter mode, allowing users to filter the suggestion list based on their input.

    ListItemCreated(ListOptions<TItem>)

    Processes a list item before it is rendered in the suggestion list.

    Declaration
    protected override ListOptions<TItem> ListItemCreated(ListOptions<TItem> listItem)
    Parameters
    Type Name Description
    ListOptions<TItem> listItem

    The list item to process.

    Returns
    Type Description
    ListOptions<TItem>

    A ListOptions<T> object representing the processed list item.

    Overrides
    Syncfusion.Blazor.DropDowns.SfDropDownBase<TItem>.ListItemCreated(Syncfusion.Blazor.DropDowns.ListOptions<TItem>)
    Remarks

    This method applies highlighting to the list item text if the Highlight property is enabled and the component is in a typed state.

    OnAfterRenderAsync(Boolean)

    Triggers after the component is rendered.

    Declaration
    protected override Task OnAfterRenderAsync(bool firstRender)
    Parameters
    Type Name Description
    System.Boolean firstRender

    A boolean indicating whether this is the first render of the component.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.OnAfterRenderAsync(System.Boolean)
    Remarks

    This method is called after the component is rendered, handling tasks such as invoking the Created event and updating the InPlaceEditor if applicable.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the rendering process.

    OnInitializedAsync()

    Triggers during the initial rendering of this component.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous initialization operation.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.OnInitializedAsync()
    Remarks

    This method is called when the component is first initialized, setting up the component's ID and linking to the parent InPlaceEditor if applicable.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during initialization.

    SearchListAsync(KeyboardEventArgs, Boolean)

    Performs a search operation on the suggestion list.

    Declaration
    protected override Task SearchListAsync(KeyboardEventArgs arguments = null, bool isTabAction = false)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Web.KeyboardEventArgs arguments

    The keyboard event arguments, if triggered by a key press.

    System.Boolean isTabAction

    A boolean indicating whether the action was triggered by the Tab key.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous search operation.

    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.SearchListAsync(Microsoft.AspNetCore.Components.Web.KeyboardEventArgs, System.Boolean)
    Remarks

    This method handles the filtering of the suggestion list based on user input, invoking the Filtering event and performing the search if not canceled.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the search operation.

    UpdateFocusItemAsync(TItem)

    Updates the focused item in the suggestion list.

    Declaration
    protected override Task UpdateFocusItemAsync(TItem focusedItem = null)
    Parameters
    Type Name Description
    TItem focusedItem

    The item to focus in the suggestion list.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    Syncfusion.Blazor.DropDowns.SfDropDownList<TValue, TItem>.UpdateFocusItemAsync(TItem)
    Remarks

    This method updates the visual focus state of an item in the suggestion list when the component is rendering the list and the input is active.

    Exceptions
    Type Condition
    System.Exception

    Thrown if an error occurs during the focus update.

    UpdateMainData()

    Updates the main data source for the SfAutoComplete<TValue, TItem> component.

    Declaration
    protected override void UpdateMainData()
    Overrides
    Syncfusion.Blazor.DropDowns.SfComboBox<TValue, TItem>.UpdateMainData()
    Remarks

    This method synchronizes the main data source with the current list data, ensuring consistency in the suggestion list.

    Implements

    Syncfusion.Blazor.DropDowns.IVirtualList<T>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved