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.

Right Click or Double Click Card Event

Thread ID:





128440 Jan 21,2017 11:28 PM Jan 24,2017 06:31 AM WPF 3
Tags: SfKanban
Rick Buffington
Asked On January 21, 2017 11:28 PM

Is there a way to handle a right click or Double Click event on a card? I'd like to make it so that a context menu pops up when a card is right clicked, and a window if Double Clicked. Thanks!

Sumathi Jayaraj [Syncfusion]
Replied On January 23, 2017 07:10 AM

Hi Rick, 
Thanks for contacting our Syncfusion Support. 
We are able to the handle the right click or double click to the KanbanCardItem in the ItemContainerStyle as shown below.  
Code sample: 
    <Style TargetType="{x:Type kanban:KanbanCardItem}"> 
        <EventSetter Event="MouseDoubleClick" Handler="EventSetter_OnHandler"/> 
For ContextMenu support, we can define the ContextMenu in the card template and we have prepared a sample for this and it can be downloaded from the following location. 
Sample : Click_events  
Sumathi J 

Rick Buffington
Replied On January 23, 2017 11:48 AM

Fantastic! Thank you so much. You just sold your product to me. :)

Sumathi Jayaraj [Syncfusion]
Replied On January 24, 2017 06:31 AM

Hi Rick, 
Thanks for the update. 
Please let us now, if you have any further assistance on this. 
Sumathi J 


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.