| Visual Basic (Declaration) | |
|---|---|
Public Property Handled As Boolean  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As SpreadCommandEventArgs Dim value As Boolean instance.Handled = value value = instance.Handled  | |
| C# | |
|---|---|
public bool Handled {get; set;}  | |
Property Value
true if event is handled; false otherwiseSet this property to true to cancel the default action.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family