public WpfOptions(OptionsPage page)
        {
            InitializeComponent();

              DataContext = Page = page;

              Loaded += (s, e) =>
              {
            grid.ItemsSource = page.LinkedCommands;
            EnableButtons ();
              };
        }