ListBox
編集可能な DataTemplate が TextBox です。Binding TwoWay はどこに設定すればよいですか? ItemSource または TextBox バインディングで? もしかして両方で?そして、それは内部でどのように機能しますか?継承されますか?したがって、ItemSource で Binding を設定すると、TextBox で継承されますか?
<ListBox HorizontalAlignment="Left" ItemsSource="{Binding Commands, Mode=TwoWay}">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBox Text="{Binding Name}" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>