表示されるテキストを選択できるように、ListView のカスタム ItemContainerStyle を作成しようとしています。ItemsSource を に設定しようとしていList<string>
ます。List<Person>
(プロパティを使用して)にバインドしている場合、私はName
できる
<ListView.ItemContainerStyle>
<Style TargetType="{x:Type ListViewItem}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListViewItem">
<StackPanel>
<TextBox Text="{Binding Path=Name}">
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ListView.ItemContainerStyle>
のバインディングを指定するにはどうすればよいList<T>
ですか?