Invert Event Handler
Toggle an event subscription between += and -=
This feature is available in MFractor Professional
The Invert Event Handler code action allows you to toggle an event subscription between a
+= to bind the event and
-= to unbind the event.
This code action is useful as you can quickly invert an event subscription to generate either the binding or unbinding code.
Using the Code Action
This code action appears in quick actions menu when the cursor is placed on the
-= operator within an event subscription statement.
Changing to a event binding statement
Changing to a event unbinding statement