Best way to propagate VisualState changes


hi,

 

i facing scenario unsure best way handle.

 

scenario:

  1. controla has 2 two custom visualstates, let’s call them “stateon” , “stateoff”.
  2. i apply template on controla, let’s call “templatea”.
  3. “templatea” has 1 control under of type controlb (who’s unaware of stateon/off).
  4. controlb has template handles visualstate changes of controla, namely, stateon , stateoff.

 

problem:

controlb not receive changes visualstates fired on controla, no visual changes happen.

 

i think problem has root element being control (controlb), doesn’t fire gotostate on desired states.  however, i’m wondering simplest/cleanest way propagate controla’s visualstate changes controlb.

 let me know if need more details.

thanks help!

 

henry

 

   

    in limited experience of  control developing, can think of nothing else call controlb.gotoxxxxstate.

    if controlb used here, dont need no states, let visualstate animation of controla manipulate it's ui properties.



Silverlight  >  Silverlight Controls and Silverlight Toolkit



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........