wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-55081f9c.md
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.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
[Obsolete("Use the DataControlBase.PastingFromClipboard event")]
[Browsable(false)]
public event PastingFromClipboardEventHandler PastingFromClipboard
<Obsolete("Use the DataControlBase.PastingFromClipboard event")>
<Browsable(False)>
Public Event PastingFromClipboard As PastingFromClipboardEventHandler
The PastingFromClipboard event's data class is DevExpress.Xpf.Grid.PastingFromClipboardEventArgs.
The DataViewBase.PastingFromClipboard event is obsolete. Use the DataControlBase.PastingFromClipboard event instead.
Views provide two events that allow you to process clipboard operations.
true. This event isn’t fired if the DataControlBase.ClipboardCopyMode property is set to ClipboardCopyMode.None.PastingFromClipboard event is fired after an end-user has pressed Ctrl+V or Shift+Ins.For more information, see Clipboard Management.
See Also