Occurs when the user pastes from the clipboard.
Syntax
Event Data
The event handler receives an argument of type ClipboardPastingEventArgs containing data related to this event. The following ClipboardPastingEventArgs properties provide information specific to this event.
Property | Description |
---|
Behavior | Gets the behavior. |
Handled | Gets or sets whether the paste was handled or the default paste action should be performed. |
Remarks
Example
This example cancels any Clipboard action.
C# | Copy Code |
---|
private void fpSpread1_ClipboardPasting(object sender, FarPoint.Win.Spread.ClipboardPastingEventArgs e)
{
e.Handled = true;
}
|
Visual Basic | Copy Code |
---|
Private Sub FpSpread1_ClipboardPasting(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ClipboardPastingEventArgs)
Handles FpSpread1.ClipboardPasting
e.Handled = True
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