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.
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.
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.
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.
Add Comment
[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.