This is a migrated thread and some comments may be shown as answers.

Get Bound Item on Double Click

2 Answers 113 Views
CardView
This is a migrated thread and some comments may be shown as answers.
Pat Huesers
Top achievements
Rank 1
Pat Huesers asked on 01 Sep 2020, 12:39 PM
I have a CardView running in Bound Mode.   I am trying to allow the user to select a choice via a double click.   The only double click event I see being raised is the overall CardView.  This just returns an X and Y click point.  How do I get from this to the databound item that was selected?

2 Answers, 1 is accepted

Sort by
0
Pat Huesers
Top achievements
Rank 1
answered on 01 Sep 2020, 09:40 PM
I figured this out, you just check for the selectedItem of the CardView control.
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 03 Sep 2020, 12:31 PM
Hello, Pat,

I am glad that you have found a suitable solution for your case. Indeed, the SelectedItem.DataBoundItem will give you access to the associated record to the current item.

Additional information about RadCardView can be found in the online documentation: https://docs.telerik.com/devtools/winforms/controls/cardview/overview 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).

Tags
CardView
Asked by
Pat Huesers
Top achievements
Rank 1
Answers by
Pat Huesers
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or