Xceed Toolkit Plus for WPF v4.6 Documentation
QueryTextFromItem Event


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > TokenizedTextBox Class : QueryTextFromItem Event
This event can be handled to extend the way a token is converted to text for displaying, matching text, or for updating the Text property. The query result have priority over the values underlined by the TokenDisplayMemberPath property.
Syntax
'Declaration
 
Public Event QueryTextFromItem As EventHandler(Of QueryTextFromItemEventArgs)
'Usage
 
Dim instance As TokenizedTextBox
Dim handler As EventHandler(Of QueryTextFromItemEventArgs)
 
AddHandler instance.QueryTextFromItem, handler
public event EventHandler<QueryTextFromItemEventArgs> QueryTextFromItem
Event Data

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

PropertyDescription
The item corresponding to the maching text.  
The text corresponding to the maching item. This value should be set by the user to specify the desired text representation of the item.  
Requirements

See Also