How should a code developer work with WPF?

I’m more of a developer than a designer. Working in WPF gives me a headache for alot of things. I can see the usefulness of XAML in regards to interface layout and stuff over C# code, and can work with them fine. However, I don’t see the reason why triggers are so limited to XAML when I can much easily do the same thing in C#.

For example, I want a button with a mouse over event that will highlight certain boxes while dimming others. This could have been easily achieved in windows by adding a mouse over event handler and changing the boxes backcolor property. But in WPF this seems to be limited to be done in XAML?

Am I looking at this wrong or that’s really what this is? I’d really love to learn WPF for the increase of drawing and animation speed over winforms

submitted by /u/Ericchen1248
[link] [comments]

Leave a Reply