Exemple #1
0
 /// <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));
 }
Exemple #2
0
 /// <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);
 }
Exemple #3
0
 public virtual void RemoveCommand(ExtendedRoutedCommand command)
 {
     CanShowCommandList.Remove(command);
 }