c# - WPToolkit: TiltEffect Doesn't Seem to be Affecting Image -


i have image:

<image height="100" name="imageplay" stretch="uniformtofill" verticalalignment="center" width="100" toolkit:tilteffect.istiltenabled="true" source="/music%20player%20pro;component/images/play.white.png" margin="20,0,0,0" tap="imageplay_tap" /> 

which doesn't seem show sign of toolkit:tilteffect? i've tried setting larger size see if effect minute see, still nothing seems happen?

does know why is? , can fix it?

image control doesn't support tilt effect. can put other tiltable controls such stackpanel, grid, border , on. instance putting stackpanel.

  <stackpanel toolkit:tilteffect.istiltenabled="true">       <image height="100" name="imageplay" stretch="uniformtofill" verticalalignment="center" width="100" toolkit:tilteffect.istiltenabled="true" source="/music%20player%20pro;component/images/play.white.png" margin="20,0,0,0" tap="imageplay_tap" />    </stackpanel> 

by default stackpanel not tiltable , must add stackpanel type tiltableitems in page constructor.

 public mainpage()         {             initializecomponent();             tilteffect.tiltableitems.add(typeof(stackpanel));          } 

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -