public bool CanRemoveSelection() { if (SelectedItemHost == null) return false; var host = SelectedItemHost as ActivityHost; return host == null || host.View.Activity.IsRemovable; }