Class SuggestProvider
Represents auto-complete provider that handles the Suggest behavior.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.MultiColumnComboBox
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class SuggestProvider : 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
|