DataControlBase.PastingFromClipboard Event
In This Article
Occurs when some information is pasted from the clipboard to the grid.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
#Event Data
The PastingFromClipboard event's handler receives an argument of the DevExpress.Xpf.Grid.PastingFromClipboardEventArgs type.
#Remarks
Views provide two events that allow you to manually process clipboard operations.
- The GridControl.CopyingToClipboard event is fired before row/cell 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 isn't fired if the DataControlBase.ClipboardCopyMode property is set to None.
- The DataViewBase.PastingFromClipboard event is fired after an end-user has pressed Ctrl+V or Shift+Ins.
To learn more, see Clipboard Operations.
See Also