Automaticly Change VisualState in Silverlight

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-03-22T18:50:30Z Indexed on 2010/03/23 4:21 UTC
Read the original article Hit count: 265

If you create a simple button and then choose Edit Template -> Edit a Copy, Blend will automatically generate a style area, along with all the button states (MouseEnter, MouseLeave, Pressed, etc). No where in the generated code does it say that on a "MouseOver" event, change the state to "MouseOver", but it still manages to work!

How does a standard button do it? Is there some sort of AutoEventWireUp going on?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about visualstatemanager