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. Image for the cookie policy date
close icon

Right Click or Double Click Card Event

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!

5 Replies

SJ Sumathi Jayaraj Syncfusion Team 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: 
 
[XAML] 
<kanban:KanbanColumn.ItemContainerStyle> 
    <Style TargetType="{x:Type kanban:KanbanCardItem}"> 
        <EventSetter Event="MouseDoubleClick" Handler="EventSetter_OnHandler"/> 
    </Style> 
</kanban:KanbanColumn.ItemContainerStyle> 
 
 
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  
 
Regards, 
Sumathi J 



RB Rick Buffington January 23, 2017 04:48 PM UTC

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


SJ Sumathi Jayaraj Syncfusion Team 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. 
 
Regards, 
Sumathi J 



DG DI Gerold Taisser May 13, 2020 12:53 PM UTC

Hi Sumathi Jayaraj,

I would like to show a contextmenu on right click on a card in kanban. A similar example has already been posted to
this thread but i am not able to access it. When i try to download it using the provided link "Click_events" i get an access denied message.
Can you post the sample so that i can download it


Thanks in advance.
Best regard.







SJ Suyamburaja Jayakumar Syncfusion Team May 14, 2020 06:43 PM UTC

Hi DI Gerold Taisser,  
  
Instead of broken sample link, please refer below sample link.  
  
Please let us know if you need any further assistance on this.  
  
Regards,  
Suyamburaja J. 


Loader.
Live Chat Icon For mobile
Up arrow icon