using System.Windows.Input; namespace BeWo.Core { public static class BeWoCommands { private static readonly RoutedUICommand _Excel; private static readonly RoutedUICommand _Word; static BeWoCommands() { _Excel = new RoutedUICommand("Excel Export", "excel", typeof (BeWoCommands)); _Word = new RoutedUICommand("Word Export", "word", typeof (BeWoCommands)); } public static RoutedUICommand Excel { get { return _Excel; } } public static RoutedUICommand Word { get { return _Word; } } } }