Occurs when the user pastes from the clipboard.
Syntax
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.
Example
This example uses the ClipboardPasted event.
C# | Copy Code |
---|
private void fpSpread1_ClipboardPasted(object sender, EventArgs e)
{
listBox1.Items.Add("ClipboardPasted Event");
} |
Visual Basic | Copy Code |
---|
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also