Hello Alexey Oyun,
Actually in the example, I haven't implemented any logic behind the Save button, since I wasn't sure if you have specific requirements for it.
However, since the TextBoxes
are bound in a TwoWay
mode and the Client
class implements INotifyPropertyChanged
, any changes made to the Name
through the TextBoxes
, are reflected on the original data source, which in this case is the Clients
observable collection. And since the ObservableCollection
, any changes in it are applied to the ItemsSource
collection of the tree.
Therefore if this logic satisfies the requirements of your scenario, a Save button won't be neccessary. Still, if the Clients
collection needs to be further saved, you can implement custom logic using a Save button.
I hope this information will help you. Also, if you need more, please let us know.
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items