Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AutoCompleteModel - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AutoCompleteModel

    Interface for a class AutoComplete

    Inheritance
    System.Object
    AutoCompleteModel
    Implements
    System.IEquatable<AutoCompleteModel>
    Namespace: Syncfusion.Blazor.DropDowns
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AutoCompleteModel : Object, IEquatable<AutoCompleteModel>

    Constructors

    AutoCompleteModel()

    Declaration
    public AutoCompleteModel()

    Properties

    ActionBegin

    Triggers before fetching data from the remote server.

    Declaration
    public ActionBeginEventArgs ActionBegin { get; set; }
    Property Value
    Type Description
    ActionBeginEventArgs

    ActionComplete

    Triggers after data is fetched successfully from the remote server.

    Declaration
    public ActionCompleteEventArgs ActionComplete { get; set; }
    Property Value
    Type Description
    ActionCompleteEventArgs

    ActionFailure

    Triggers when the data fetch request from the remote server fails.

    Declaration
    public EventCallback<object> ActionFailure { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    AllowCustom

    Specifies whether the component allows user defined value which does not exist in data source.

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

    Autofill

    Specifies whether suggest a first matched item in input when searching. No action happens when no matches found.

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

    BeforeOpen

    Triggers when the popup before opens.

    Declaration
    public BeforeOpenEventArgs BeforeOpen { get; set; }
    Property Value
    Type Description
    BeforeOpenEventArgs

    Blur

    Triggers when focus moves out from the component.

    Declaration
    public EventCallback<object> Blur { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    Change

    Triggers when an item in a popup is selected or when the model value is changed by user.

    Use Change event to configure the cascading AutoComplete.

    Declaration
    public EventCallback<object> Change { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    Close

    Triggers when the popup is closed.

    Declaration
    public EventCallback<object> Close { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    Created

    Triggers when the component is created.

    Declaration
    public EventCallback<object> Created { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    CustomValueSpecifier

    Triggers on set a custom value.

    Declaration
    public EventCallback<object> CustomValueSpecifier { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    DataBound

    Triggers when data source is populated in the popup list.

    Declaration
    public DataBoundEventArgs DataBound { get; set; }
    Property Value
    Type Description
    DataBoundEventArgs

    Destroyed

    Triggers when the component is destroyed.

    Declaration
    public EventCallback<object> Destroyed { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    Filtering

    Triggers on typing a character in the component.

    Declaration
    public EventCallback<object> Filtering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    FilterType

    Determines on which filter type, the component needs to be considered on search action.

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

    Focus

    Triggers when the component is focused.

    Declaration
    public EventCallback<object> Focus { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    Highlight

    When set to ‘true’, highlight the searched characters on suggested list items.

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

    MinLength

    Allows you to set the minimum search character length, the search action will perform after typed minimum characters.

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

    Open

    Triggers when the popup opens.

    Declaration
    public EventCallback<object> Open { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    Select

    Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.

    Declaration
    public EventCallback<object> Select { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    ShowClearButton

    Specifies whether to show or hide the clear button.

    When the clear button is clicked, `Value`, `Text`, and `Index` properties are reset to null.

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

    ShowPopupButton

    Allows you to either show or hide the popup button on the component.

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

    SuggestionCount

    Supports the specified number of list items on the suggestion popup.

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

    Methods

    Equals(AutoCompleteModel)

    Declaration
    public bool Equals(AutoCompleteModel autoCompleteModel)
    Parameters
    Type Name Description
    AutoCompleteModel autoCompleteModel
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<>
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved