Another roadblock in the WPF DataGrid caused by binding.

 

In the Forms DataGridView there is a ToolTipNeeded event which passes that
row/col so you generate the tooltip text on the fly. You have complete
control.

 

I've been searching for over half an hour for a similar technique in the WPF
DataGrid without luck. Not forgetting of course that all of my columns are
created at runtime.

 

All of the sample code I've found so far is woefully inadequate and does not
deal with general purpose tips. Before I waste more suffering hours of
unpaid time on this I thought I might as well ask if anyone has done this
before.

 

I was thinking of tracking mouse move/hover and if I can get the column and
row, and the data bound item behind the row then I can change the grid's
tooltip on the fly. I'm sure this won't work.

 

Then I was thinking of listening for Row Loading and Unloading and trying to
set the tips there, but I don't know if I can get to the bound item behind
each row. I'll give it a go.

 

Greg

 

Ps. WPF development is causing me to seriously lose income. Surely I'm not
the only person in this group, or on the Internet or in the world who finds
that every f***ing thing I want to do is obscure or nearly impossible
without jumping though hoops of plasma fire. This is NOT a learning
exercise, it is like exploring blind in a snowstorm for answers and tricks
to let me implement the most basic and standard UI functionality from the
WinForms world.

_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf

Reply via email to