I want to simulate a right click on datagrid in WPF, and a context menu pop up. But I found that the context menu is popped up via the PopupControlService which is internal to MS and I cannot access. Now I have the datagrid instance. How can I simulate a right click on this datagrid? Thank you all.
Aucun commentaire:
Enregistrer un commentaire