WindowClosingEventArgs.Cancel Property
Gets or sets a Boolean value that specifies whether to cancel the window closing event.
Namespace: Microsoft.Uii.Csr.Browser.Web
Assembly: Microsoft.Uii.Csr.Browser.Web (in Microsoft.Uii.Csr.Browser.Web.dll)
Usage
'Usage
Dim instance As WindowClosingEventArgs
Dim value As Boolean
value = instance.Cancel
instance.Cancel = value
Syntax
'Declaration
Public Property Cancel As Boolean
public bool Cancel { get; set; }
public:
property bool Cancel {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_Cancel ()
/** @property */
public void set_Cancel (boolean value)
public function get Cancel () : boolean
public function set Cancel (value : boolean)
Property Value
Type: Boolean
True to cancel the closing of the window; false otherwise.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
WindowClosingEventArgs Class
WindowClosingEventArgs Members
Microsoft.Uii.Csr.Browser.Web Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.