Obsolete. Occurs when data is copied to the clipboard, allowing you to manually copy required data.
[Obsolete("Use the TreeListControlBase.CopyingToClipboard event instead")] [Browsable(false)] public event TreeListCopyingToClipboardEventHandler CopyingToClipboard
<Obsolete("Use the TreeListControlBase.CopyingToClipboard event instead")> <Browsable(False)> Public Event CopyingToClipboard As TreeListCopyingToClipboardEventHandler
The CopyingToClipboard event's data class is TreeListCopyingToClipboardEventArgs. The following properties provide information specific to this event:
|Cells||Gets an array of cells whose values are about to be copied to the clipboard.|
|CopyHeader||Gets whether column headers are copied to the clipboard. Inherited from CopyingToClipboardEventArgsBase.|
|GridCells||Gets an array of cells whose values are about to be copied to the clipboard.|
|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.|
|Nodes||Gets an array of nodes whose values are about to be copied to the clipboard.|
|OriginalSource||Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.|
|RoutedEvent||Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.|
|RowHandles||Gets an array of handles that correspond to rows whose values are to be copied to the clipboard. Inherited from CopyingToClipboardEventArgsBase.|
|Source||Gets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.|
The TreeListView provides two events that allow you to manually process clipboard operations.
- The CopyingToClipboard event is fired before node values are copied to the clipboard by an end-user, or in code. To cancel default processing, set the event parameter's Handled property to true. This event is not fired if the DataControlBase.ClipboardCopyMode property is set to 'None'.
- The DataControlBase.PastingFromClipboard event is fired after an end-user has pressed Ctrl+V or Shift+Ins.
To learn more, see Clipboard Management.