Class
SuggestProvider

Represents auto-complete provider that handles the Suggest behavior.

Definition

Namespace:Telerik.Windows.Controls.MultiColumnComboBox

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class SuggestProvider : INotifyPropertyChanged

Inheritance: objectSuggestProvider

Derived Classes: AppendProviderSearchProviderSuggestAppendProvider

Implements: INotifyPropertyChanged

Constructors

SuggestProvider(QueryableCollectionView)

Initializes a new instance of the SuggestProvider class.

Declaration

cs-api-definition
public SuggestProvider(QueryableCollectionView collectionView)

Parameters

collectionView

QueryableCollectionView

SuggestProvider(QueryableCollectionView, SearchStateManager)

Initializes a new instance of the SuggestProvider class.

Declaration

cs-api-definition
public SuggestProvider(QueryableCollectionView collectionView, SearchStateManager searchStateManager)

Parameters

collectionView

QueryableCollectionView

searchStateManager

SearchStateManager

Properties

AutoCompleteMode

Gets the auto-complete mode.

Declaration

cs-api-definition
protected virtual SearchAutoCompleteMode AutoCompleteMode { get; }

Property Value

SearchAutoCompleteMode

CollectionView

Gets the associated collection view.

Declaration

cs-api-definition
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

cs-api-definition
public string DisplayMemberPath { get; set; }

Property Value

string

HighlightMatches

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

Declaration

cs-api-definition
public bool HighlightMatches { get; set; }

Property Value

bool

MatchCase

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

Declaration

cs-api-definition
public bool MatchCase { get; set; }

Property Value

bool

MatchText

Gets or sets the match text.

Declaration

cs-api-definition
public string MatchText { get; set; }

Property Value

string

SearchStateManager

Gets or sets the associated SearchStateManager.

Declaration

cs-api-definition
protected SearchStateManager SearchStateManager { get; set; }

Property Value

SearchStateManager

SearchText

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

Declaration

cs-api-definition
public string SearchText { get; set; }

Property Value

string

SelectionInfo

Gets or sets the selection info that indicates text selection.

Declaration

cs-api-definition
public AutoCompleteSelectionInfo SelectionInfo { get; set; }

Property Value

AutoCompleteSelectionInfo

ShouldSetMatchText

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

Declaration

cs-api-definition
public bool ShouldSetMatchText { get; set; }

Property Value

bool

Methods

GetCurrentItem()

Returns the current item.

Declaration

cs-api-definition
protected virtual object GetCurrentItem()

Returns

object

HandleSearchTextChanged(string)

Updates the search logic with the new search text value.

Declaration

cs-api-definition
protected virtual void HandleSearchTextChanged(string newSearchText)

Parameters

newSearchText

string

InitializeCollectionView(QueryableCollectionView)

Initializes the associated collection view instance.

Declaration

cs-api-definition
protected virtual void InitializeCollectionView(QueryableCollectionView collectionView)

Parameters

collectionView

QueryableCollectionView

MoveCurrentToFirst()

Moves CollectionView.CurrentItem to the first item.

Declaration

cs-api-definition
public virtual void MoveCurrentToFirst()

MoveCurrentToLast()

Moves CollectionView.CurrentItem to the last item.

Declaration

cs-api-definition
public virtual void MoveCurrentToLast()

MoveCurrentToNext()

Moves CollectionView.CurrentItem to the next available.

Declaration

cs-api-definition
public virtual void MoveCurrentToNext()

MoveCurrentToPrevious()

Moves CollectionView.CurrentItem to the previous available.

Declaration

cs-api-definition
public virtual void MoveCurrentToPrevious()

MovingCurrentItem()

Indicates that the current item is being changed.

Declaration

cs-api-definition
protected virtual void MovingCurrentItem()

OnPropertyChanged(string)

Raises the PropertyChanged event.

Declaration

cs-api-definition
protected void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

SetCurrentItem(object)

Sets the current item.

Declaration

cs-api-definition
protected virtual void SetCurrentItem(object item)

Parameters

item

object

SetMatchText()

Sets the match text based on the first found item.

Declaration

cs-api-definition
protected virtual void SetMatchText()

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged