DataViewBase.PastingFromClipboard Event
OBSOLETE
Use the DataControlBase.PastingFromClipboard event
Occurs when some information is pasted from the clipboard to the grid.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v25.1.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
[Obsolete("Use the DataControlBase.PastingFromClipboard event")]
[Browsable(false)]
public event PastingFromClipboardEventHandler PastingFromClipboard
Event Data
The PastingFromClipboard event's data class is DevExpress.Xpf.Grid.PastingFromClipboardEventArgs.
Remarks
The DataViewBase.PastingFromClipboard
event is obsolete. Use the DataControlBase.PastingFromClipboard event instead.
Views provide two events that allow you to process clipboard operations.
- The GridControl.CopyingToClipboard event is fired before row/cell values are copied to the clipboard by a user or in code. To cancel default processing, set the event parameter’s Handled property to true. This event isn’t fired if the DataControlBase.ClipboardCopyMode property is set to ClipboardCopyMode.None.
- The PastingFromClipboard event is fired after an end-user has pressed Ctrl+V or Shift+Ins.
For more information, see Clipboard Management.
See Also