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

Right Click or Double Click Card Event

Thread ID:





128440 Jan 22,2017 04:28 AM UTC Jan 24,2017 11:31 AM UTC WPF 3
Tags: SfKanban
Rick Buffington
Asked On January 22, 2017 04:28 AM UTC

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 12:10 PM UTC

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 04:48 PM UTC

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

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

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.

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