CancelEventArgs Constructor (Boolean)
Collapse the table of content
Expand the table of content

CancelEventArgs Constructor (Boolean)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the CancelEventArgs class that has the Cancel property set to the given value.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

public CancelEventArgs(
	bool cancel


Type: System.Boolean
true to cancel the operation; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft