| 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 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6