[This is preliminary documentation and is subject to change.]

When overiden in derived class determines if it is allowed to add handlers for events that supports cancellation

Namespace: Tools.CollectionsT.GenericT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public abstract bool AllowAddCancelableEventsHandlers { get; set; }
Visual Basic
Public MustOverride Property AllowAddCancelableEventsHandlers As Boolean
	Get
	Set
Visual C++
public:
virtual property bool AllowAddCancelableEventsHandlers {
	bool get () abstract;
	void set (bool value) abstract;
}
F#
abstract AllowAddCancelableEventsHandlers : bool with get, set
JScript
abstract function get AllowAddCancelableEventsHandlers () : boolean
abstract function set AllowAddCancelableEventsHandlers (value : boolean)

Remarks

Value can be changed only from True (default) to False Those are events:AddingRemovingClearingItemChanging

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionTrying to set value to True when it if False

See Also