ClassSuggestProvider
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
SuggestProvider(QueryableCollectionView)
Initializes a new instance of the SuggestProvider class.
Declaration
public SuggestProvider(QueryableCollectionView collectionView)
Parameters
collectionView
SuggestProvider(QueryableCollectionView, SearchStateManager)
Initializes a new instance of the SuggestProvider class.
Declaration
public SuggestProvider(QueryableCollectionView collectionView, SearchStateManager searchStateManager)
Parameters
collectionView
searchStateManager
Properties
AutoCompleteMode
Gets the auto-complete mode.
Declaration
protected virtual SearchAutoCompleteMode AutoCompleteMode { get; }
Property Value
CollectionView
Gets the associated collection view.
Declaration
protected virtual QueryableCollectionView CollectionView { get; }
Property Value
DisplayMemberPath
Gets or sets the name or path of the property that is displayed for each data item.
HighlightMatches
Gets or sets a value that indicates whether matched items will be highlighted.
MatchCase
Gets or sets value that indicates whether text matching is case sensitive.
MatchText
Gets or sets the match text.
SearchStateManager
Gets or sets the associated SearchStateManager.
Declaration
protected SearchStateManager SearchStateManager { get; set; }
Property Value
SearchText
Gets or sets the text that will be used in filter operation.
SelectionInfo
Gets or sets the selection info that indicates text selection.
Declaration
public AutoCompleteSelectionInfo SelectionInfo { get; set; }
Property Value
ShouldSetMatchText
Gets or sets a value that indicates whether match case should be updated.
Methods
GetCurrentItem()
Returns the current item.
HandleSearchTextChanged(string)
Updates the search logic with the new search text value.
Declaration
protected virtual void HandleSearchTextChanged(string newSearchText)
Parameters
newSearchText
InitializeCollectionView(QueryableCollectionView)
Initializes the associated collection view instance.
Declaration
protected virtual void InitializeCollectionView(QueryableCollectionView collectionView)
Parameters
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
propertyName
SetCurrentItem(object)
Sets the current item.
Declaration
protected virtual void SetCurrentItem(object item)
Parameters
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 Value
Implements