Handlers can set this property to 'true' to cancel an associated event. For example, if Cancel is set to 'true' when handling the Removing event, then the node will not be removed and the NodeRemoved event will not be fired.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Cancel As Boolean |
C# | |
---|
public bool Cancel {get; set;} |
Requirements
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
See Also