Open VoNguyenMinhTriet opened 3 years ago
Im curious, why arent you using the styles for animations @VoNguyenMinhTriet ?
also the gif you linked is broken too
Im curious, why arent you using the styles for animations @VoNguyenMinhTriet ?
Because I wanted the animation able to be triggered in code-behind, and AFAIK, I can't register pseudo-classes.
also the gif you linked is broken too
AnonFiles files changes their position periodically :/ Now I changed the provider to pic8.
AFAIK, I can't register pseudo-classes.
You could add/remove classes with the "Classes" property btw :) so you can have a certain class removed/added on codebehind then set your animation in styles
@VoNguyenMinhTriet you can add your own psuedoclasses.
i.e.
Thanks for the reply! But it's off topic I guess...
I have a window with a content like this:
The code behind has this method:
The constructor has this line:![output](https://s01.geekpic.net/di-Y9EVIZ.gif)
((Rectangle) ((Grid) ((Viewbox) Content).Child).Children[0]).Tapped += Rectangle_Tapped;
This is the output:@jmacato