CopyToClipboardCommand ClassDocument Toolkit Help
Copies selected text to the clipboard.
Inheritance Hierarchy

SystemObject
  System.WindowsDependencyObject
    FirstFloor.Documents.Controls.CommandsCommandBase
      FirstFloor.Documents.Controls.CommandsSelectionCommand
        FirstFloor.Documents.Controls.CommandsCopyToClipboardCommand

Namespace: FirstFloor.Documents.Controls.Commands
Assembly: FirstFloor.Documents.Controls (in FirstFloor.Documents.Controls.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public class CopyToClipboardCommand : SelectionCommand

The CopyToClipboardCommand type exposes the following members.

Constructors

  NameDescription
Public methodCopyToClipboardCommand
Initializes a new instance of the CopyToClipboardCommand class
Top
Properties

  NameDescription
Public propertyDispatcher
Gets the Dispatcher this object is associated with.
(Inherited from DependencyObject.)
Protected propertyRequiresSelectedText
Gets a value indicating whether this command requires text to be selected.
(Overrides SelectionCommandRequiresSelectedText.)
Public propertySelection
Gets or sets the selection.
(Inherited from SelectionCommand.)
Top
Methods

  NameDescription
Public methodCanExecute
Defines the method that determines whether the command can execute in its current state.
(Overrides SelectionCommandCanExecute(Object).)
Public methodCheckAccess
Determines whether the calling thread has access to this object.
(Inherited from DependencyObject.)
Public methodClearValue
Clears the local value of a dependency property.
(Inherited from DependencyObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
Defines the method to be called when the command is invoked.
(Inherited from CommandBase.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAnimationBaseValue
Returns any base value established for a Silverlight dependency property, which would apply in cases where an animation is not active.
(Inherited from DependencyObject.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property from a DependencyObject.
(Inherited from DependencyObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCanExecuteChanged
Raises the CanExecuteChanged event.
(Inherited from CommandBase.)
Protected methodOnExecute
Implements the actual command execution.
(Overrides CommandBaseOnExecute(Object).)
Public methodReadLocalValue
Returns the local value of a dependency property, if a local value is set.
(Inherited from DependencyObject.)
Public methodSetValue
Sets the local value of a dependency property on a DependencyObject.
(Inherited from DependencyObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events

  NameDescription
Public eventCanExecuteChanged
Occurs when changes occur that affect whether the command should execute.
(Inherited from CommandBase.)
Top
Extension Methods

  NameDescription
Public Extension MethodAncestorsAndSelf
Returns a collection of visual elements that contain specified object, and the ancestors of specified object.
(Defined by DependencyObjectExtensions.)
Public Extension MethodDescendants
Retrieves all visual descendants of a framework element.
(Defined by DependencyObjectExtensions.)
Public Extension MethodElements
Retrieves the visual elements of a framework element.
(Defined by DependencyObjectExtensions.)
Top
See Also

Reference