Hi Roni,
If all you need is rotation (no animation involved) you can achieve that with a simple CSS class.
Create a CSS class similar to this one:
.rotate180 {
transform : rotate(180deg);
}
Then it's a simple matter of deciding if you should apply that CSS class or not to the icon based on a variable that you toggle to between True
and False
when the user clicks the icon.
You can use If(IsRotated, "rotate180", "")
in your Style Classes property.