I am building a DataGrid from an observable collection, and I would like to display a StackPanel (for example) with information pulled out of Cells/Fields in a DataRow as that Data Row’s ToolTip. How do I assign the StackPanel to the DataRow’s ToolTip property? I have tried using a Style but I get an error: Cannot add content of type StackPanel to an object of type ‘System.Object’
how else could i set the tooltip? i basically want to display a panel with a summary of the datarow’s values (b/c the row is very long and i wish to keep all the fields visible for scrolling through) as its tool tip.
Imported from legacy forums. Posted by Michael (had 3434 views)