View Single Post
Old 01-10-2006   #5 (permalink)
Michael Latta


 
 

Re: Inheriting from custom made page in xaml

Rob,

My attempts so far to define a page or in my case a window with a base class
other than the WPF class have failed. It complains that the generated .g.cs
partial class has a different base class than my code behind partial class.
Can you point me at a sample that does this?

Michael


"Rob Relyea [MSFT]" <Rob.Relyea@microsoft.nospam.com> wrote in message
news:uTCUflVEGHA.1288@TK2MSFTNGP09.phx.gbl...
> Yes that is a by design limitation for v1.
>
> If we do enable this in the future, how would you like the content of the
> first page to work in the subclassed page?
> We'd like to understand your scenario.
>
> Today, you can make the base class in a programming language and then
> build the subclasses with markup.
>
> Thanks,
> Rob Relyea
> WPF Program Manager
> http://longhornblogs.com/rrelyea
>
> <Thomas Andersen> wrote in message
> news:e4FQrVTEGHA.336@TK2MSFTNGP14.phx.gbl...
>> <Thomas Andersen> wrote in message
>> news:%23bI8$QTEGHA.2036@TK2MSFTNGP14.phx.gbl...
>>> Can this be try? That seems like a wierd limitation?

>>
>> Ups, should say:
>> Can this be right? That seems like a wierd limitation?
>>
>> --
>> Thomas Andersen
>>

>
>



My System SpecsSystem Spec