Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Viewing styles in the January CTP

 
 
Old 01-31-2006   #1 (permalink)
Keith Patrick


 
 

Viewing styles in the January CTP

Now that System.Windows.Serialization.Parser is gone, and I'm finding
this.MainWindow.Style is now null, I was wondering if anyone has had any
luck with recent CTPs allowing the default styles to be outputted as text
for examination? I'm interested in some of the newer gel looks, but I'm not
seeing any styles for any of the controls I create (my old code would have a
default style loaded with the September CTP)



My System SpecsSystem Spec
Old 01-31-2006   #2 (permalink)
Nick Kramer [MSFT]


 
 

Re: Viewing styles in the January CTP

Parser was split into XamlReader and XamlWriter classes.

There's been a lot of performance work in styling & theming, but the split
between "normal" style and ThemeStyle (aka DefaultStyle) wasn't motivated by
performance. It was about letting users write styles that don't need to
duplicate everything that theme does, and without relying on BasedOn for
everything so that a single style can be used on different classes.

--
-Nick Kramer [MSFT]
http://blogs.msdn.com/nickkramer

---
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"Keith Patrick" <richard_keith_patrick@nospam.hotmail.com> wrote in message
news:eUcVYriHGHA.2628@TK2MSFTNGP15.phx.gbl...
> Now that System.Windows.Serialization.Parser is gone, and I'm finding
> this.MainWindow.Style is now null, I was wondering if anyone has had any
> luck with recent CTPs allowing the default styles to be outputted as text
> for examination? I'm interested in some of the newer gel looks, but I'm
> not seeing any styles for any of the controls I create (my old code would
> have a default style loaded with the September CTP)
>



My System SpecsSystem Spec
Old 01-31-2006   #3 (permalink)
Keith Patrick


 
 

Re: Viewing styles in the January CTP

I'm not quite following how BasedOn comes into play with the ThemeStyle.
Should I be using it much less than currently? Right now I basically use it
to have style trees that parallel the WPF visual hierarchy, but is that
something that can reduce my style sizes (although now that inherited styles
are working, it seems relatively lightweight as it is)


My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Templates/Styles .NET General
Visual Styles Vista General
DVD Maker Menu Styles... Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46