private void Copy_Executed(object sender, ExecutedRoutedEventArgs e) { if (SelectedItem != null) { SelectedItem.CopyToClipboard(); } }
private void Cut_Executed(object sender, ExecutedRoutedEventArgs e) { if (SelectedItem != null) { SelectedItem.CopyToClipboard(); Document.RemoveItem(SelectedItem); } }