次の方法で共有


Sys.CancelEventArgs cancel Property

Gets or sets a value that specifies whether the event source should cancel the operation that caused the event.

Note

To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as cancel, you call the get_cancel or set_cancel methods.

var isCanceled = eventArgs.get_cancel();
eventArgs.set_cancel(value);

Property Value

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

See Also

Reference

Sys.WebForms.BeginRequestEventArgs Class

Sys.EventArgs Class