|
using System.Windows.Input;
namespace TaskList.ViewModel
{
public static class TaskListCommands
{
private static RoutedUICommand exit =
new RoutedUICommand("Exit", "Exit", typeof(TaskListCommands));
private static RoutedUICommand addTask =
new RoutedUICommand("Add Task", "AddTask", typeof(TaskListCommands));
private static RoutedUICommand editTask =
new RoutedUICommand("Edit Task", "EditTask", typeof(TaskListCommands));
private static RoutedUICommand removeTasks =
new RoutedUICommand("Remove Tasks", "RemoveTasks", typeof(TaskListCommands));
public static RoutedUICommand Exit { get { return exit; } }
public static RoutedUICommand AddTask { get { return addTask; } }
public static RoutedUICommand EditTask { get { return editTask; } }
public static RoutedUICommand RemoveTasks { get { return removeTasks; } }
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Windows developer with 10+ years experience working in the banking industry.