I created a custom control XamDatagrid. I want to add two standard context menu headers dynamically. How can I add them and trigger there events. In my current project, I can add them but I'm unable to trigger there events. Is that possible? Also if a another programmer uses my control and adds other context menu items will it override mines? Attached is my sample project.
Hello,
Thank you for your feedback. Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
I meant thank you for your help
Ok thank you for your message
Thank you for your reply. I have further researched the functionality that you are looking for and it seems that the best approach for adding items to an existing XamContextMenu is getting the ContextMenuManager and then adding the items to its ContextMenu property.
Please let me know if you need any further assistance on the matter.
This helped thank you. So pretty much I have to set my menu items dynamically?