This documentation is archived and is not being maintained.

DataObjectPastingEventArgs Members

Contains arguments for the DataObject.Pasting event.

The following tables list the members exposed by the DataObjectPastingEventArgs type.

  Name Description
Public method DataObjectPastingEventArgs Initializes a new instance of DataObjectPastingEventArgs.

  Name Description
Public property CommandCancelled  Gets a Boolean value indicating whether the associated command or operation is cancelled.(inherited from DataObjectEventArgs)
Public property DataObject Gets or sets a suggested DataObject to use for the paste operation.
Public property FormatToApply Gets or sets a string specifying the suggested data format to use for the paste operation.
Public property Handled  Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. (inherited from RoutedEventArgs)
Public property IsDragDrop  Gets a Boolean value indicating if the associated event is part of a drag-and-drop operation.(inherited from DataObjectEventArgs)
Public property OriginalSource  Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class.(inherited from RoutedEventArgs)
Public property RoutedEvent  Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. (inherited from RoutedEventArgs)
Public property Source  Gets or sets a reference to the object that raised the event. (inherited from RoutedEventArgs)
Public property SourceDataObject Gets a copy of the original data object associated with the paste operation.

(see also Protected Methods )
  Name Description
Public method CancelCommand  Cancels the associated command or operation. (inherited from DataObjectEventArgs)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)