Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1485
Row no longer highlighted while context menu is open
posted

Hi,

I've added a context menu to a couple of XamDataGrids in my application.  If I right-click on the currently selected row, when the context menu appears the row still appears as highlighted - fine.

I want the users to also be able to right-click on a non-selected row, without actually selecting it.  When I place the mouse over such a row, it is highlighted in a slightly different color than the selected row - again, fine.  However, as soon as the context menu opens, the highlight goes away, which makes it less obvious to the user what the context menu refers to.

Is this normal behavior, or am I missing something here?

Thanks,
Michel

Parents
  • 69686
    Suggested Answer
    posted

    Hello Michel,

    Yes, this is the expected behavior. If you want you can change that of course. You can keep track of which record you are currently displaying the ContextMenu on, and change its DataRecordPresenter's background, or hightlight it in a way that will make it clear for the user.

    Let me know if you have any questions on this.

Reply Children