void SelectedItemChanged(object sender, PropertyChangedEventArgs e) { if (SelectedItemInTree == null) { return; } else if (!SelectedItemInTree.IsStillActive() || GetRootFromElement(SelectedItemInTree) == null) { GetDesktop(); } RefreshItemDetails(); }
public void CopyXPath() { string copy = SelectedItemInTree.GetXPath(); Clipboard.SetText(copy); }