WPF View States?

WPF View States?

Is there something like view states in WPF and XAML. Essentially I'd like to group a bunch of property setters together for different objects, almost like styles, and then apply different groups of setters based on some information at runtime.

The Tallest
06/17/2009 - 10:05

I just came across the WPF Visual State Manager today - something that is included in the WPF Toolkit. I think it might be what you are looking for.

reply

The Reddest
06/17/2009 - 13:01

Pretty nice. This seems to only work with Storyboards, but cool none-the-less. Technically it could do want I wanted, but with some extra overhead.

reply

Add Comment

Put code snippets inside language tags:
[language] [/language]

Examples:
[javascript] [/javascript]
[actionscript] [/actionscript]
[csharp] [/csharp]

See here for supported languages.

Javascript must be enabled to submit anonymous comments - or you can login.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.