Open TomQv opened 5 years ago
Have you tried the MouseDown event?
Yes, i tried, but its not triggered,
Only ColumnHeaderClick on left button.
Any quick workaround for this imaginable?
Hey @TomQv, not sure at this point. Perhaps look at NSTableView documentation to see where that can be defined, then you could probably create a native style to wire it up.
No ways....
I solved this now by changing the design. Added a small column with headertext "=", which just acts as a button, no data When clicked, I show the context-menu to let the user choose visible columns. Thunderbird is also dong it like this.
Bzw. there is no Tooltip-property on ColumnHeaders.
How to get a context-menu with right mouse click on GridView column-header on Mac?
With wpf I can check e.Buttons and e.Location.y in CellClick-event, but on Mac there is no event triggered when clicked on the header.
Any workaround for this?
ColumnHeaderClick is only triggered with left mouse button.