/// <summary> /// Checks if a command applies to selected items. /// </summary> /// <param name="command">The command.</param> /// <returns>True if the command applies; otherwise, false.</returns> public virtual bool ContainsCommand(CustomControls.ExtendedRoutedCommand command) { return(CanShowCommandList.Contains(command)); }
/// <summary> /// Removes a command from the list of commands that can be shown. /// </summary> /// <param name="command">The command.</param> public virtual void RemoveCommand(CustomControls.ExtendedRoutedCommand command) { CanShowCommandList.Remove(command); }
public virtual void RemoveCommand(ExtendedRoutedCommand command) { CanShowCommandList.Remove(command); }