Spread Windows Forms 6.0 Product Documentation
Handled Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ClipboardPastingEventArgs Class : Handled Property


Glossary Item Box

Gets or sets whether the paste was handled or the default paste action should be performed.

Syntax

Visual Basic (Declaration) 
Public Property Handled As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ClipboardPastingEventArgs
Dim value As Boolean
 
instance.Handled = value
 
value = instance.Handled
C# 
public bool Handled {get; set;}

Property Value

Boolean: true if handled; false otherwise

Example

This example cancels any Clipbpard action.
C#Copy Code
private void fpSpread1_ClipboardPasting(object sender, FarPoint.Win.Spread.ClipboardPastingEventArgs e) 
{ 
    e.Handled = true;  
} 
Visual BasicCopy 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 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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.