<pre lang="cs"><StackPanel> <ListBox> <ListBox.Resources> <DataTemplate <TextBox AcceptsReturn="True" TextWrapping="Wrap" Text="{Binding Path=Text, Mode=TwoWay}" Text="{Binding Path=SomeProperty, Mode=TwoWay}" /> </DataTemplate> </ListBox.Resources> </ListBox> </StackPanel>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)