Class CancelEventArgs

Provides the base class for events that can be canceled.

see

{@link http://msdn.microsoft.com/en-us/library/bb311009(v=vs.100).aspx}

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): CancelEventArgs

Initializes a new instance of the CancelEventArgs class.

Returns

CancelEventArgs

Properties

public Empty: EventArgs

An object of type EventArgs that is used as a convenient way to specify an empty EventArgs instance.

Methods

public get_cancel(): boolean

Returns

boolean

public set_cancel(value: boolean)

true to request that the event be canceled; otherwise, false. The default is false.

Parameters

  • value: boolean