WPF Combobox: Unterschiedliche Vorlage in Textbox und Dropdown-Liste
Dies ist meine Combo-Box.
<ComboBox Height="45" HorizontalAlignment="Left" Margin="184,66,0,0" Name="ComboBox1" VerticalAlignment="Top" Width="216">
<ComboBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<Label Content="{Binding FullName}" Width="150" />
<Label Content="{Binding Title}" Width="100"/>
<Label Content="{Binding BranchName}" />
</StackPanel>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
Wie kann ich es so ändern, dass nur der vollständige Name im Textfeldteil des Kombinationsfelds angezeigt wird, während alle drei Spalten weiterhin im Dropdown-Bereich angezeigt werden?