This question is locked. New answers and comments are not allowed.
I have a combo box that is bound to a collection. There are some items in that collection that I do not want to be visible in the combo box. I am using a ContainerBindingCollection / DataTemplate to accomplish this and it works great. The problem is that type ahead doesn't work. Could you please let me know how I can resolve this? My guess is that type ahead is based on DisplayMemberPath, which isn't used in this scenario.
Here is the code for my ContainerBindingCollection and DataTemplate:
Here is the code for my combo box:
Here is the code for my ContainerBindingCollection and DataTemplate:
<telerik:ContainerBindingCollection x:Name="UserItemBindings"> <telerik:ContainerBinding Binding="{Binding VisibleState, Mode=TwoWay}" PropertyName="Visibility" /></telerik:ContainerBindingCollection><DataTemplate x:Key="ComboBoxVisibilityTemplate" telerik:ContainerBinding.ContainerBindings="{StaticResource UserItemBindings}"> <TextBlock Text="{Binding DropDownEntry}" /></DataTemplate>Here is the code for my combo box:
<telerik:RadComboBox x:Name="rcbxLocationFavorite" Width="200" Height="25" VerticalAlignment="Center" ClearSelectionButtonVisibility="Visible" ItemTemplate="{StaticResource ComboBoxVisibilityTemplate}" SelectedValuePath="EntryStringId" TextSearchMode="Contains" ToolTipService.Placement="Top" />