You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently implementing a WPF project. There I have a datagrid, In one of the columns in this data grid,In one of the columns in this data grid, user should be able to open a context menu for both right click and left click. I have implemented both of these scenarios, but when user left click and open the context menu, It doesn't show as how it's displayed for the right click.
When user right click for the very first time context menu display correctly
Right click for the very first time - display correctly
When user left click for the very first time, border and icon is missing
Left click for the very first time - border and icon is missing
then right click - border and icon is missing
Please note that what I meant by border here is, In the context menu in left side there's a grey color vertical line can be seen. That line cannot seen when I left click the menu. I tried several ways to implement this but none of them were successful. I have all the styles I have tried
The text was updated successfully, but these errors were encountered:
Siyumii
changed the title
How to apply a Context menu border when left click and open the context menu?
How to apply a vertical border when left click the context menu?
Aug 5, 2020
I am currently implementing a WPF project. There I have a datagrid, In one of the columns in this data grid,In one of the columns in this data grid, user should be able to open a context menu for both right click and left click. I have implemented both of these scenarios, but when user left click and open the context menu, It doesn't show as how it's displayed for the right click.
When user right click for the very first time context menu display correctly
![When right click for the very first time it display as this]
(https://user-images.githubusercontent.com/16635100/89280647-897e8580-d666-11ea-8cad-3cfbd6803a60.png)
![When left click the border shown in blue color doesn't display]
(https://user-images.githubusercontent.com/16635100/89280784-c3e82280-d666-11ea-9bf8-4df09458ee33.png)
When user left click for the very first time, border and icon is missing
Left click for the very first time - border and icon is missing
then right click - border and icon is missing
Please note that what I meant by border here is, In the context menu in left side there's a grey color vertical line can be seen. That line cannot seen when I left click the menu. I tried several ways to implement this but none of them were successful. I have all the styles I have tried
The text was updated successfully, but these errors were encountered: