Gets or sets a value indicating whether the event should be canceled.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Cancel As Boolean |
C# | |
---|
public bool Cancel {get; set;} |
C++/CLI | |
---|
public:
property bool Cancel {
bool get();
void set ( bool value);
} |
Property Value
True if the event should be canceled; otherwise, False.
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