title: WPF UIElements Inline with Text "Adornments"
body: <p>In WPF how can I put regular <code>UIElement</code>s inline with text?  For example a certain classification of text would replace a span of text with a dropdown containing specific options.</p>
  
  <p>I've used objects like Span, Bold, Hyperlink that do some light modifications to text inline, but I want to be able to do something more drastic, and custom.  Can I implement a similar Inline object to accomplish this?</p>
  
  <p>I am working on a project where I have a need for some advanced text visuals.  Specifically I want to do something similar to the Visual Studio 2010 WPF based source editor.</p>
  
  <p>I'll have a piece of text and various components will look at that text searching for pieces with special meaning.  When it finds a span of text it will record/mark that span.  Then another set of components will go over the classified text and add decorations based on their classifications.</p>
  
  <p>You can kind of think of this like smart tags for WPF.</p>
  
  <p>I really have no idea where to start, all the documentation on advanced text in WPF is about animating, custom brushes, convert to geometry, etc...</p>