This is in reference to writing a Visual Studio extension or MEF.
MS Walkthrough: Creating a Margin Glyph example
https://msdn.microsoft.com/en-us/library/ee361745.aspx
How do you toggle a margin glyph via a tool window button?
So click button... glyph disappears, click button... glyph reappears (at location of cursor).
The issue is getting a margin glyph to redraw, refresh or re-render on command.
So for the purposes of this question, you can assume my project is identical to the MS Walkthrough linked at the top.
How do you get a glyph to update?