Created
July 27, 2021 11:21
-
-
Save IT-Delinquent/b04d882c738369f81a8b2ff1271ea408 to your computer and use it in GitHub Desktop.
repeatRotatingImageWPF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Image Name="loadingImage" Margin="200" RenderTransformOrigin="0.5,0.5" Source="/SlickRHI;component/Assets/Images/Loading.png"> | |
| <Image.Triggers> | |
| <EventTrigger RoutedEvent="FrameworkElement.Loaded"> | |
| <EventTrigger.Actions> <BeginStoryboard Storyboard="{StaticResource imageRotationStoryboard}" /> | |
| </EventTrigger.Actions> | |
| </EventTrigger> | |
| </Image.Triggers> | |
| <Image.RenderTransform> | |
| <RotateTransform Angle="0"/> | |
| </Image.RenderTransform> | |
| </Image> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment