Gets or sets a value indicating whether the loading 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);
} |
Return Value
true if the loading event should be canceled; otherwise,
false.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also