skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SuggestProvider

Represents auto-complete provider that handles the Suggest behavior.

Inheritance
System.Object
SuggestProvider
AppendProvider
SearchProvider
SuggestAppendProvider
Namespace: Telerik.Windows.Controls.MultiColumnComboBox
Assembly: Telerik.Windows.Controls.GridView.dll

Syntax

public class SuggestProvider : Object, INotifyPropertyChanged

Constructors

SuggestProvider(QueryableCollectionView)

Initializes a new instance of the SuggestProvider class.

Declaration
public SuggestProvider(QueryableCollectionView collectionView)
Parameters
QueryableCollectionView collectionView

SuggestProvider(QueryableCollectionView, SearchStateManager)

Initializes a new instance of the SuggestProvider class.

Declaration
public SuggestProvider(QueryableCollectionView collectionView, SearchStateManager searchStateManager)
Parameters
QueryableCollectionView collectionView

SearchStateManager searchStateManager

Properties

AutoCompleteMode

Gets the auto-complete mode.

Declaration
protected virtual SearchAutoCompleteMode AutoCompleteMode { get; }
Property Value
SearchAutoCompleteMode

CollectionView

Gets the associated collection view.

Declaration
protected virtual QueryableCollectionView CollectionView { get; }
Property Value
QueryableCollectionView

DisplayMemberPath

Gets or sets the name or path of the property that is displayed for each data item.

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

HighlightMatches

Gets or sets a value that indicates whether matched items will be highlighted.

Declaration
public bool HighlightMatches { get; set; }
Property Value
System.Boolean

MatchCase

Gets or sets value that indicates whether text matching is case sensitive.

Declaration
public bool MatchCase { get; set; }
Property Value
System.Boolean

MatchText

Gets or sets the match text.

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

SearchStateManager

Gets or sets the associated SearchStateManager.

Declaration
protected SearchStateManager SearchStateManager { get; set; }
Property Value
SearchStateManager

SearchText

Gets or sets the text that will be used in filter operation.

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

SelectionInfo

Gets or sets the selection info that indicates text selection.

Declaration
public AutoCompleteSelectionInfo SelectionInfo { get; set; }
Property Value
AutoCompleteSelectionInfo

ShouldSetMatchText

Gets or sets a value that indicates whether match case should be updated.

Declaration
public bool ShouldSetMatchText { get; set; }
Property Value
System.Boolean

Methods

GetCurrentItem()

Returns the current item.

Declaration
protected virtual object GetCurrentItem()
Returns
System.Object

HandleSearchTextChanged(String)

Updates the search logic with the new search text value.

Declaration
protected virtual void HandleSearchTextChanged(string newSearchText)
Parameters
System.String newSearchText

InitializeCollectionView(QueryableCollectionView)

Initializes the associated collection view instance.

Declaration
protected virtual void InitializeCollectionView(QueryableCollectionView collectionView)
Parameters
QueryableCollectionView collectionView

MoveCurrentToFirst()

Moves CollectionView.CurrentItem to the first item.

Declaration
public virtual void MoveCurrentToFirst()

MoveCurrentToLast()

Moves CollectionView.CurrentItem to the last item.

Declaration
public virtual void MoveCurrentToLast()

MoveCurrentToNext()

Moves CollectionView.CurrentItem to the next available.

Declaration
public virtual void MoveCurrentToNext()

MoveCurrentToPrevious()

Moves CollectionView.CurrentItem to the previous available.

Declaration
public virtual void MoveCurrentToPrevious()

MovingCurrentItem()

Indicates that the current item is being changed.

Declaration
protected virtual void MovingCurrentItem()

OnPropertyChanged(String)

Raises the PropertyChanged event.

Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
System.String propertyName

SetCurrentItem(Object)

Sets the current item.

Declaration
protected virtual void SetCurrentItem(object item)
Parameters
System.Object item

SetMatchText()

Sets the match text based on the first found item.

Declaration
protected virtual void SetMatchText()

Events

PropertyChanged

Occurs when a property value changes.

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.