Archive

Posts Tagged ‘Adornments’

DXCore Services – Adornments

June 13th, 2012 Comments off

The Adornments DXCore service provides access to the graphic adornments architecture.

Read more…

DXCore adornments creation and wizards

October 6th, 2010 Comments off

There are several project item wizards made for simplifying the DXCore visual adornments creation process:

  • DXCoreAdornment – widespread adornments project item which consists of two main adornment objects bound to text coordinates: TextDocumentAdornment and VisualObjectAdornments.
  • ViewPortAdornment – contains of EditorAdornment and ViewPortAdornment which can be added to a TextDocument or TextView and bound to screen or text view coordinates.
  • TileVisual – contains of two DXCore tile adornment objects: TextDocumentTile and TileVisual to create tiles in the code editor. Tile adornments can react on mouse events.

Read more…

DXCore adornments architecture

October 6th, 2010 Comments off

The Visual Studio 2010 IDE shell has been rewritten using the Windows Presentation Foundation (WPF), in other words, it has a completely different code editor based on the new WPF technology. Earlier versions of DXCore used GDI and Win32 API calls to paint the inside code editor before Visual Studio 2010 release, and would not work inside the new code editor. To bring painting support to Visual Studio 2010 and leave the support of previous Visual Studio versions, DXCore has been also rewritten using the new painting abstraction layer, which has a split code base for different platforms (WPF, GDI). This abstraction layer is called the “Adornments” architecture. This architecture allows having a single code base for all versions of Visual Studio which helps to maintain both graphic platforms at once and have independent painting, non-dependant on the version of IDE used.

Read more…