This question is locked. New answers and comments are not allowed.
Hi,
Is there an easy way to get ItemHighlighting in RadDataBoundListBox when binding to FilteredSuggestions property?
For e.g. for below code, is it possible to have the TextBlock to have ItemHighlighting when the filter key is matched?
I would like the RadDataBoundListBox to show ItemHighlighting similar to the one shown by AutoCompleteBox popup.
Kindly suggest the easiest way to achieve the same, if possible.
Thanks!
Is there an easy way to get ItemHighlighting in RadDataBoundListBox when binding to FilteredSuggestions property?
For e.g. for below code, is it possible to have the TextBlock to have ItemHighlighting when the filter key is matched?
I would like the RadDataBoundListBox to show ItemHighlighting similar to the one shown by AutoCompleteBox popup.
Kindly suggest the easiest way to achieve the same, if possible.
Thanks!
<Grid x:Name="LayoutRoot"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition/> </Grid.RowDefinitions> <telerikInput:RadAutoCompleteBox PopupDisplayMode="None" x:Name="radAutoCompleteBox" Grid.Row="0"/> <telerikPrimitives:RadDataBoundListBox ItemsSource="{Binding ElementName=radAutoCompleteBox, Path=FilteredSuggestions}" Grid.Row="1" x:Name="dataBoundListBox"> <telerikPrimitives:RadDataBoundListBox.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding}"/> </DataTemplate> </telerikPrimitives:RadDataBoundListBox.ItemTemplate> </telerikPrimitives:RadDataBoundListBox></Grid>