Spread Windows Forms 8.0 Product Documentation
ClipboardPasted Event
Example 


Occurs when the user pastes from the clipboard.
Syntax
'Declaration
 
Public Event ClipboardPasted As ClipboardPastedEventHandler
'Usage
 
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.

PropertyDescription
CellRange Gets the CellRange.
DataObject Gets the IDataObject
PasteOption Gets the ClipboardPasteOptions
SheetView Gets the SheetView.
Example
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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.