Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / TokenizedTextBox Class / QuerySuggestItemForText Event


    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
    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