Visual Studio For Mac Subscribe To Eventhandler Trigger

Yesterday I was tinkering in Word and my custom Document_ContentControlOnChange event

and developed a relatively simple method to use that technique to create mutually exclusive content control checkboxes:

  1. Set the EventRecordWritten event handler to a new event handler that points to the callback method created in Step 3. Set the Enabled property equal to true to start the event subscription and false to stop the event subscription.
  2. IDEs: Visual Studio Community 2017 (Windows) MonoDevelop (Windows/Mac/Linux) Visual Studio for Mac (Mac) Rider (Windows. Is there an easier way of calling the eventhandler on dependent (linked) properties? Then on top of that you can add another attribute on the property so that it defines the dependent property to trigger as well.

Define event handler for click on the button Define event in the hybridwebview and a method for raising it When the button is clicked, raise the event via accessing the hybridwebview on the page and calling the method for raising the event.


I shared it with a long-time Word MVP and his comment was 'Best thing I've seen in six months. Very Nice!'

Visual Studio For Mac Subscribe To Eventhandler Trigger


I'm just a dabbler in VBA and I certainly don't consider myself a programmer. If I am able to cobble together things like this, I can't understand why Microsoft won't incorporate a built-in Document_ContentControlOnChange event in the application!


I consider content controls the 'crown jewels' of Word. That said, and as versatile as they are, Microsoft has left them unfinished. I know that there has been a call for a change event since the content controls were introduced in Word 2007? Why after two versions later is it still glaringly absent?


Hoping some moderator/MS employee will see this and forward it to the product team and that the product team will finally take long overdue action fix it or at least explain why they can't/won't.




Visual Studio For Mac Subscribe To Eventhandler Trigger Finger


Visual Studio For Mac Subscribe To Eventhandler Trigger Point


Comments are closed.