Rob Relyea


WPF and Rich Content Model

Doing my feedster search for WPF, I found a post where Aaron was excited about embedding a combo box inside a textbox.  He has a picture of it in action.

One key developer benefit of WPF is that you can easily embed almost any control inside of another.  Checkbox inside of a Menu, yep.  ComboBox inside of a RichTextBox, yep.  etc...

How substantial a capability is this for you?  What scenarios does it enable that you are excited about?



(I'm trying a new setting for this post...syndicating an excerpt...)

Posted on Nov 17 2005, 02:45 AM by rrelyea
Filed under:


  • For me, it's substantial and I think it is what differentiates WPF from old-school Win32 programming. There are so many scenarios where the constraints and challenges of doing complex data entry layout in Win32 are simply maddening (along with a reasonably visually compelling interface). Most importantly and to my point, I think the power of WPF is that it eliminates so many of the constraints we've had as developers during the Win32-years. I want to eliminate the need for niche ActiveX/.NET components which serve limited purposes. I want to eliminate the need to host an instance of IE in an application because I want a richer end user experience that can't be done in a reasonable amount of time.
    I want to build experiences that could be something like InfoPath or even an interactive Word document (like a form) -- without relying on those technologies. I need an enabling technology to do that. WPF seems to be that.
    November 17, 2005 7:35 AM