Spread Windows Forms 12.0 Product Documentation
ClipboardPasted Event

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : ClipboardPasted Event
Occurs when the user pastes from the clipboard.
Public Event ClipboardPasted As ClipboardPastedEventHandler
Dim instance As FpSpread
Dim handler As ClipboardPastedEventHandler
AddHandler instance.ClipboardPasted, handler
public event ClipboardPastedEventHandler ClipboardPasted
Event Data

The event handler receives an argument of type ClipboardPastedEventArgs containing data related to this event. The following ClipboardPastedEventArgs properties provide information specific to this event.

Gets the CellRange.  
Gets the IDataObject  
Gets the ClipboardPasteOptions  
Gets the SheetView.  
This example uses the ClipboardPasted event.
private void fpSpread1_ClipboardPasted(object sender, EventArgs e)
            listBox1.Items.Add("ClipboardPasted Event");
Private Sub FpSpread1_ClipboardPasted(ByVal sender As Object, ByVal e As System.EventArgs) Handles FpSpread1.ClipboardPasted
        ListBox1.Items.Add("ClipboardPasted Event")
End Sub
See Also