Coffeehouse Post

Single Post Permalink

View Thread: Why is WPF so complicated?
  • User profile image
    jmacdonagh

    But you can do it this way. You can hook the Clicked event up to some code-behind code. In that code-behind code you can set the image's source to whatever you want.

    I guess what they're trying to do is to keep the style completely in the XAML code. It makes it much easier to reuse.