private void EditApply_Click(object sender, RoutedEventArgs e) { CancelEditMode(); Path = editpath.Text; }