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.
Unfortunately, activation email could not send to your email. Please try again.

Determining a right-click on a Card View

Thread ID:

Created:

Updated:

Platform:

Replies:

121410 Dec 10,2015 04:22 PM Dec 12,2015 07:12 AM WPF 3
loading
Tags: CardView
Brent Hoskisson
Asked On December 10, 2015 04:22 PM

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?
Thanks
Brent Hoskisson

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

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:

Sample:CardView_121410

Regards,
Vijayalakshmi V.R.

Brent Hoskisson
Replied On December 11, 2015 10:56 AM

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

Thanks,
Brent

Vijayalakshmi Roopkumar [Syncfusion]
Replied On December 12, 2015 07:12 AM

Hi Brent,

Thanks for the update.

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

Regards,
Vijayalakshmi V.R.

CONFIRMATION

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.

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.

;