Xceed Toolkit Plus for WPF v4.6 Documentation
QueryItemFromText Event


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > TokenizedTextBox Class : QueryItemFromText Event
This event can be handled to extend the way a text input is converted to the corresponding item. Text input may be typed by the user or specified through the Text property. The query results have priority over the values underlined by the TokenDisplayMemberPath property.
Syntax
'Declaration
 
Public Event QueryItemFromText As EventHandler(Of QueryItemFromTextEventArgs)
'Usage
 
Dim instance As TokenizedTextBox
Dim handler As EventHandler(Of QueryItemFromTextEventArgs)
 
AddHandler instance.QueryItemFromText, handler
public event EventHandler<QueryItemFromTextEventArgs> QueryItemFromText
Event Data

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

PropertyDescription
The item corresponding to the maching text. This value should be set by the user if there is a matching item for the specified text.  
The text corresponding to the maching item.  
Requirements

See Also