Button Click effect

1 Answer 242 Views
Button
Apoorva
Top achievements
Rank 1
Apoorva asked on 27 Jun 2023, 09:18 AM
Is there a way to set a button click effect when a user taps on the RadButton?

1 Answer, 1 is accepted

Sort by
0
Accepted
Didi
Telerik team
answered on 28 Jun 2023, 08:05 AM

Hello,

For such request you have to use the native button and check whether effect for our exact case can be applied on native level. This is a custom implementation. Button does not provide this out of the box. I have found these resources that could be of help: 
https://www.youtube.com/watch?v=neoHcHyi-ZU&ab_channel=XamarinGuy 

https://stackoverflow.com/questions/61288113/xamarin-forms-xaml-add-click-animation-to-button 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Apoorva
Top achievements
Rank 1
commented on 29 Jun 2023, 11:25 AM

Ok thanks, just to share, I ended up using the Xamarin Community Toolkit library and used the TouchEffect feature.
I was also able to apply the touch effect on the <Image> control like this:

<Image Source="LaunchEvidence3x"  xct:TouchEffect.NativeAnimation="True" xct:TouchEffect.NativeAnimationBorderless="True" Margin="0" />

It would be good if the Telerik controls could also have this feature whereby the TouchEffect could be applied.
Tags
Button
Asked by
Apoorva
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or