Hi, I have enabled Auto Preview for one of the columns in my grid, and it looks very nice, however, if I hover over it with the mouse I don't get a tooltip displaying the whole text as I would with the column! :( Is there any way to enable this behavior?
Thanks.
Sorry, my mistake, it is actually a RowAutoPreviewUIElement that's returned, from which I can obtain the child TextUIElement, and the text. :) Thanks for your help.
Hi Mike, I have looked at the WinToolTipManager sample as you suggested but I have a problem. The preview area does not appear to be a cell and the UIElement that's returned from ElementFromPoint is an UltraGridUIElement (which I think is the main grid element), and I can't see a way to get the corresponding preview rectangle and text from this element. :( Any pointers?
Thanks
Hi, the text column that I am previewing has multiple lines and can be quite long, and I only show the first 4 lines in the grid, so a tooltip would be very useful. I will look at the samples you've suggested. Thanks.
Hi,
The AutoPreview is the length of the whole row, so typically, it's long enough to show the whole text. So I don't think there's any tooltip functionality built-in to it.
You could implement your own tooltips using UltraTooltipManager or the inbox ToolTip class. Basically, you would change the tooltip on the grid in the MouseMove event based on the current location of the mouse. This technique is described in a number of places and there's a sample of it under the UltraToolTipManager samples that demonstrates how to set the grid tooltip based on the context.