[This is preliminary documentation and is subject to change.]
Determines if it is allowed to add handlers for events that supports cancellation
Namespace: Tools.CollectionsT.GenericTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[BrowsableAttribute(false)] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] public bool AllowAddCancelableEventsHandlers { get; set; } |
| Visual Basic |
|---|
<BrowsableAttribute(False)> _ <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _ Public Property AllowAddCancelableEventsHandlers As Boolean Get Set |
| Visual C++ |
|---|
[BrowsableAttribute(false)] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)] public: property bool AllowAddCancelableEventsHandlers { bool get (); void set (bool value); } |
| F# |
|---|
[<BrowsableAttribute(false)>] [<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>] member AllowAddCancelableEventsHandlers : bool with get, set |
| JScript |
|---|
function get AllowAddCancelableEventsHandlers () : boolean function set AllowAddCancelableEventsHandlers (value : boolean) |
Remarks
Value can be changed only from True (default) to False
Those are events:AddingRemovingClearingItemChanging
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | Trying to set value to True when it if False |