SuggestProvider
Represents auto-complete provider that handles the Suggest behavior.
Definition
Namespace:Telerik.Windows.Controls.MultiColumnComboBox
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class SuggestProvider : INotifyPropertyChanged
Inheritance: objectSuggestProvider
Derived Classes:
Implements:
Constructors
Initializes a new instance of the SuggestProvider class.
public SuggestProvider(QueryableCollectionView collectionView, SearchStateManager searchStateManager)
Initializes a new instance of the SuggestProvider class.
public SuggestProvider(QueryableCollectionView collectionView)
Properties
Gets the auto-complete mode.
protected virtual SearchAutoCompleteMode AutoCompleteMode { get; }
Gets the associated collection view.
protected virtual QueryableCollectionView CollectionView { get; }
Gets or sets the name or path of the property that is displayed for each data item.
public string DisplayMemberPath { get; set; }
Gets or sets a value that indicates whether matched items will be highlighted.
public bool HighlightMatches { get; set; }
Gets or sets value that indicates whether text matching is case sensitive.
public bool MatchCase { get; set; }
Gets or sets the associated SearchStateManager.
protected SearchStateManager SearchStateManager { get; set; }
Gets or sets the text that will be used in filter operation.
public string SearchText { get; set; }
Gets or sets the selection info that indicates text selection.
public AutoCompleteSelectionInfo SelectionInfo { get; set; }
Gets or sets a value that indicates whether match case should be updated.
public bool ShouldSetMatchText { get; set; }
Methods
Returns the current item.
Updates the search logic with the new search text value.
protected virtual void HandleSearchTextChanged(string newSearchText)
Initializes the associated collection view instance.
protected virtual void InitializeCollectionView(QueryableCollectionView collectionView)
Moves CollectionView.CurrentItem to the first item.
public virtual void MoveCurrentToFirst()
Moves CollectionView.CurrentItem to the last item.
public virtual void MoveCurrentToLast()
Moves CollectionView.CurrentItem to the next available.
public virtual void MoveCurrentToNext()
Moves CollectionView.CurrentItem to the previous available.
public virtual void MoveCurrentToPrevious()
Indicates that the current item is being changed.
protected virtual void MovingCurrentItem()
Raises the PropertyChanged event.
Sets the current item.
Sets the match text based on the first found item.
protected virtual void SetMatchText()
Events
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged
Implements: