private bool DeleteContentCanExecute(object parameter) { return (parameter ?? SelectedItem) is PackagePart; }