windows phone 7 - How can I with a storyboard reduce a stackpanels top margin -
i've tried following:
<image.resources> <storyboard x:name="logostoryboard"> <objectanimationusingkeyframes storyboard.targetproperty="margin" storyboard.targetname="logoimage"> <discreteobjectkeyframe keytime="0:0:3" value="0, 100, 0, 0" /> </objectanimationusingkeyframes>
but jumps after 3 seconds. there way can easy down 100 pixels
it jumps @ 3 seconds because that's have set on keytime
if reduced "0:0:0.01" pretty immediate like;
<objectanimationusingkeyframes storyboard.targetproperty="margin" storyboard.targetname="logoimage"> <discreteobjectkeyframe keytime="0:0:0.01" value="0,100,0,0" /> </objectanimationusingkeyframes>
however, apply changepropertyaction
behavior directly , ditch storyboard together. :)
hope helps.
Comments
Post a Comment