Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

WPF raotate Icon

<Viewbox Height="20">                
            <Path Fill="black" Data="M28,2.202v4.059C37.053,7.706,44,15.547,44,25c0,10.477-8.523,19-19,19S6,35.477,6,25c0-9.442,6.93-17.275,15.966-18.734 V2.206C10.713,3.696,2,13.347,2,25c0,12.682,10.317,23,23,23s23-10.318,23-23C48,13.335,39.269,3.677,28,2.202z">
                <Path.RenderTransform>
                    <RotateTransform CenterX="25" CenterY="25" />
                </Path.RenderTransform>
                <Path.Style>
                    <Style>
                        <Style.Triggers>
                            <Trigger Property="Image.IsEnabled" Value="True">
                                <Trigger.EnterActions>
                                    <BeginStoryboard>
                                        <Storyboard>
                                            <DoubleAnimation
                                    Storyboard.TargetProperty="RenderTransform.Angle"
                                    From="0"
                                    To="360"
                                    Duration="0:0:1"
                                    RepeatBehavior="Forever" />
                                        </Storyboard>
                                    </BeginStoryboard>
                                </Trigger.EnterActions>
                            </Trigger>
                        </Style.Triggers>
                    </Style>
                </Path.Style>
            </Path>
        </Viewbox>
Comment

PREVIOUS NEXT
Code Example
Csharp :: .net core string compare ignore case and accents 
Csharp :: how to make a draggable visual studio panel 
Csharp :: unity use of possibly unassigned field struct 
Csharp :: DisplayUnitType revit 2022 
Csharp :: c# check if there is 5 mins space between two datestime 
Csharp :: Remove tabpage by key 
Csharp :: Named Entity Extraction C# 
Csharp :: Delegates in UntiyC# 
Csharp :: C# if...else if Statement 
Csharp :: Delete last modification on EntityFramework Core 
Csharp :: c# how to start an application and detect if started 
Csharp :: c# remove 0 from string 
Csharp :: method declaration in c# 
Csharp :: Datagridview causing IndexOutOfRangeException when clicked upon 
Csharp :: obs mfplat.dll 
Csharp :: unity shader show object behind object 
Csharp :: c# wait without GUI blocks 
Csharp :: c# how to divide a list every 4 count 
Csharp :: c# int array add number 
Csharp :: unity int to bool 
Csharp :: c# String Uppercase and Lowercase method 
Csharp :: assetfinder 
Csharp :: it solutions 
Csharp :: how to add colider in obj in unity 2020 
Csharp :: c# MD5.Create returning nul 
Csharp :: css text no word wrap 
Html :: removing filepath from url using htaccess 
Html :: html new tab 
Html :: how to run vscode as root 
Html :: html video disable right click 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =