apply effect without touch (automatically)

Is there a way to apply an effect automatically without a touch?  I want to use the rotate effect to show an animation but I want it to happen when the page appears.


Thank you for the help!


1 Reply

ET Eswaran Thirugnanasambandam Syncfusion Team December 1, 2021 04:18 PM UTC

Hi Mike Phillips, 
 
Greetings from Syncfusion. 
 
We have checked your requirement and it can be achieved by calling the ApplyEffects method from the OnAppearing override method as mentioned in the below code snippet. 
 
[C#} 
protected override void OnAppearing() 
 { 
     base.OnAppearing(); 
     EffectsView.ApplyEffects(Syncfusion.XForms.EffectsView.SfEffects.Rotation, repeat: false); 
 } 
 
Also, we have prepared the sample for the same. Please get it from the below link. 
 
Please refer the below user guide link to know more information. 
 
Please let us know if you need any further assistance. 
 
Regards, 
Eswaran 


Loader.
Up arrow icon