Spread Windows Forms 12.0 Product Documentation
Handled Property (ClipboardPastingEventArgs)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ClipboardPastingEventArgs Class : Handled Property
Gets or sets whether the paste was handled or the default paste action should be performed.
Syntax
'Declaration
 
Public Property Handled As Boolean
'Usage
 
Dim instance As ClipboardPastingEventArgs
Dim value As Boolean
 
instance.Handled = value
 
value = instance.Handled
public bool Handled {get; set;}

Property Value

Boolean: true if handled; false otherwise
Example
This example cancels any Clipboard action.
private void fpSpread1_ClipboardPasting(object sender, FarPoint.Win.Spread.ClipboardPastingEventArgs e) 
{ 
    e.Handled = true;  
} 
Private Sub FpSpread1_ClipboardPasting(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ClipboardPastingEventArgs)
Handles FpSpread1.ClipboardPasting
    e.Handled = True 
End Sub 
See Also

Reference

ClipboardPastingEventArgs Class
ClipboardPastingEventArgs Members