We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Extending functionality of SfEffectsView to SfButton

Is it possible, or is there a way to implement the SfEffectsView Ripple effect on a SfButton?  I understand that SfEffectsView can be used with labels, therefore I attempted to put SfEffectsView with the Ripple effect in the template view of a SfButton, but it does not work as expected (no effect is seen).  What is the best approach or how can the Ripple effect be implemented on a SfButton?

1 Reply

IM Iyyappan Mani Syncfusion Team January 22, 2020 12:06 PM UTC

Hi Janice, 
  
Thank you for your interest in Syncfusion products. 
  
We have already integrated SfEffectsView in SfButton internally.  
  
By setting the "Visual" property as Material for SfButton control, ripple effect will occur when clicking on the button.  
  
Please refer the below code snippet for better understanding. 

<buttons:SfButton x:Name="button" Visual="Material"/> 
  
Please revert us for any other queries. 
  
Regards, 
Iyyappan M. 


Loader.
Live Chat Icon For mobile
Up arrow icon