View Single Post
Old 06-30-2009   #4 (permalink)
dave


 
 

Re: xaml subclass???



"Gregory A. Beamer" wrote:
Quote:

> =?Utf-8?B?ZGF2ZQ==?= <epridave@xxxxxx> wrote in
> news:3CD34E7D-106D-4035-8756-46659608E6F8@xxxxxx:
>
>
Quote:

> > Obviously I am missing something here, but I'm not sure what to even
> > start searching on.
> >
>
> I am not sure about the runtime issue, but XAML does not currently support
> "visual inheritance", so I am not sure you can solve the design time
> problem easily.
>
> As far as runtime goes, you need to look at the final XAML and you will
> likely be able to get a clue what is going wrong. Not sure how to do in
> WPF; it is a bit easier in XBAP and Silverlight.
>
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> Twitter: @gbworld
> Blog: http://gregorybeamer.spaces.live.com
>
> *******************************************
> | Think outside the box! |
> *******************************************
>
p.s. it is interesting that now the main app designer window shows the
contents of the subclassed TreeViewItems, but the designers for the
individual subclasses still show the message 'the document root element is
not supported by the visual designer'.
My System SpecsSystem Spec