We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bac9e84 commit 68f004cCopy full SHA for 68f004c
1 file changed
Desktop/Project/TasksList.xaml.cs
@@ -19,6 +19,15 @@ public TasksList(TaskListViewModel viewModel)
19
new TaskCreation(creationViewModel);
20
}
21
22
+ /// <remarks>
23
+ /// This event handler in the code behind complies with the MVVM architectural
24
+ /// style: the View (which this code behind is part of) only has concerns of
25
+ /// the View.
26
+ /// <para>
27
+ /// If this event handler had code related with the control of the use
28
+ /// case, it will be moved to a ViewModel (since it is its responsibility).
29
+ /// </para>
30
+ /// </remarks>
31
private void Edit(object sender, MouseButtonEventArgs e)
32
{
33
if (sender is not ListBoxItem { DataContext: Task task })
0 commit comments