Xceed Toolkit Plus for WPF v4.6 Documentation
QuerySuggestItemForText Event


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > TokenizedTextBox Class : QuerySuggestItemForText Event
This event can be handled to extend the way a text input is considered to be a search match for an item. Search matches are displayed in the dropdown suggestion box. The query results have priority over the values underlined by the SearchMemberPaths property.
Syntax
'Declaration
 
Public Event QuerySuggestItemForText As EventHandler(Of QuerySuggestItemForTextEventArgs)
'Usage
 
Dim instance As TokenizedTextBox

Dim handler As EventHandler(Of QuerySuggestItemForTextEventArgs)

 

AddHandler instance.QuerySuggestItemForText, handler
public event EventHandler<QuerySuggestItemForTextEventArgs> QuerySuggestItemForText
Event Data

The event handler receives an argument of type QuerySuggestItemForTextEventArgs containing data related to this event. The following QuerySuggestItemForTextEventArgs properties provide information specific to this event.

PropertyDescription
The item corresponding to the maching text.  
This value should be set to True to specify if the provided item should be displayed in the dropdown suggestion box, taking into account the actual input provided by the QuerySuggestItemForTextEventArgs.Text property.  
The text corresponding to the current input text.  
Requirements

See Also