0
<ComboBox IsEditable="True" x:Name="copynotesbox" SelectedItem="{Binding NotesID, Mode=TwoWay}" Grid.Column="0" Grid.Row="0" HorizontalAlignment ="Left" Margin="0,0,0,0" Height="30" Width ="75" FontWeight="Bold" Foreground="DarkBlue" VerticalAlignment="Center" ItemsSource="{Binding NotesCopyObs}" >
<ComboBox.InputBindings>
<KeyBinding Command="{Binding NotesID}" />
</ComboBox.InputBindings>
</ComboBox>
上記は編集可能なコンボボックスです。ボックスはNotesCopyObs
というList
にバインドされていますが、選択するリストにない場合は番号を入力してNotesID
にバインドするオプションが必要です。リスト番号は完全に機能します。私はこれを追加することによって、他の場所ですべてオンライン編集可能なコンボボックスのバインド
あなたの質問は不明である仕事を始めました。正しく説明してください。 – AnjumSKhan
は重複していますか? [http://stackoverflow.com/questions/17805798/wpf-combobox-add-item-when-user-enter-text-in-combo](http://stackoverflow.com/questions/17805798/wpf-combobox-項目追加時のユーザ入力テキスト・イン・コンボ) –