我有一个 WPF ,我想在键入该字母时ComboBox
转到以(例如)“e”开头的项目。ComboBox
如何?
我的 XAML 代码:
<ComboBox ItemsSource="{Binding Roles}" SelectedValuePath="Id"
ItemTemplate="{StaticResource ComboBoxDisplayName}"
SelectedItem="{Binding SelectedRole}"
Width="150"/>