locked
Routing SizeChanged - fired @ start? RRS feed

  • Question

  • Hi,

    i wan to use the sizeChanged RoutingEvent to Animate the Size of an StackPanel. But when i use the EventTrigger the RoutingEvent fired on every startup - why? no size is changed.

    <Window.Triggers>
    		<EventTrigger RoutedEvent="FrameworkElement.SizeChanged" SourceName="stackPanel">
    			<BeginStoryboard Storyboard="{StaticResource Storyboard1}"/>
    		</EventTrigger>
    	</Window.Triggers>
    


    Friday, August 12, 2011 9:34 PM