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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Determining a right-click on a Card View

Thread ID:





121410 Dec 10,2015 09:22 PM UTC Dec 12,2015 12:12 PM UTC WPF 3
Tags: CardView
Brent Hoskisson
Asked On December 10, 2015 09:22 PM UTC

So the situation is I have a card view. While one of the cards is in edit mode, I want to right click another card (brings up a context menu - I have this much working). The selected item doesn't change and the card in edit mode remains in edit mode.
How can I get what item corresponds to the card I right-clicked on?
Brent Hoskisson

Vijayalakshmi Roopkumar [Syncfusion]
Replied On December 11, 2015 10:27 AM UTC

Hi Brent,

Thank you for contacting Syncfusion Support

We have prepared a sample that tries to meet your requirement. In our sample we have fetched the CardViewItem from the VisualTree in the PreviewMouseDown event and selected the CardViewItem which is right clicked. Please download the sample from the following link:


Vijayalakshmi V.R.

Brent Hoskisson
Replied On December 11, 2015 03:56 PM UTC

The PreviewMouseDown event did the trick and I got the object from cardviewitem.Header


Vijayalakshmi Roopkumar [Syncfusion]
Replied On December 12, 2015 12:12 PM UTC

Hi Brent,

Thanks for the update.

Please let us know if you need further assistance on this.

Vijayalakshmi V.R.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon