One way binding

- <TextBox Text="{Binding ElementName=listView, Path=SelectedItem.EmployeeSalary, Mode=OneWay}">

- <TextBox Grid.Row="0" Text="{Binding ElementName=listView, Path=SelectedItem.EmployeeName, Mode=TwoWay}">

Picture 2: Now modifying all fields (except Employee Salary field) are effecting the list view items also because we are having Two Way bindings for each. But Employee Salary filed is having One way binding.


aishwarya vangaraPosted Jan 13, 2016, 4:27 AM
Hi, the changes made in the textboxes are showin in listview. but, database is not updated.