CodeWindowManager::AddAdornments Method ()
Visual Studio 2015
Called to add adornments or additional user interface (UI) elements to the text view.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Implements
IVsCodeWindowManager::AddAdornments()This method can be used if you have any UI elements you want to add to the text view that holds the code window. If you override this method in a class derived from the CodeWindowManager class, be sure to call the base class version of this method before any implementation you need.
The base method calls LanguageService::CreateDropDownHelper to obtain a TypeAndMemberDropdownBars class. If LanguageService::CreateDropDownHelper returns a valid object, any previous drop-down bars are removed from the view and the new ones are installed. Then the base method always calls the OnNewView method with the view obtained from the code window.
Show: