Skip to content

Commit fa77e0e

Browse files
Update README.md
1 parent 5363017 commit fa77e0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# How to convert event to command in MVVM pattern in WPF TreeView
1+
# How to Convert Event to Command in MVVM Pattern in WPF TreeView?
22

33
This repository describes how to convert event to command in MVVM pattern in [WPF TreeView](https://www.syncfusion.com/wpf-controls/treeview) (SfTreeView).
44

5-
The `TreeView` event can be converted into commands using Behaviors. To achieve this, create a command in the `ViewModel` class and associate it to the `TreeView` event using Behaviors.
5+
The `TreeView` event can be converted into commands using [Behaviors](https://devblogs.microsoft.com/dotnet/open-sourcing-xaml-behaviors-for-wpf/). To achieve this, create a command in the `ViewModel` class and associate it to the `TreeView` event using Behaviors.
66

77
#### XAML
88

@@ -115,4 +115,4 @@ public class ViewModel : NotificationObject
115115
MessageBox.Show("Selected State: " + (args.AddedItems[0] as Model).State.ToString());
116116
}
117117
}
118-
```
118+
```

0 commit comments

Comments
 (0)