public System.bool Cancel {get; set;}
public System.bool Cancel {get; set;}
The context in which the event is raised also determines whether the operation can be canceled or not. For example if you handle a property changing event and cancel it, the DOM will normally honour the Cancel flag and abort the property change procedure. However this event handler may be called during a history undo process and the DOM in this case will not honour the Cancel flag.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)