This question is locked. New answers and comments are not allowed.
Hi,
I would like to know how to set the text that is displayed when you scroll. On the scrollbar some sort of tooltip is displayed to show which is the current item that you are scrolling to. This works fine for simple data columns, but I work with a data column that uses deeper binding.
| var employeeColumn = new GridViewDataColumn |
| { |
| Header = "Employee", |
| DataMemberBinding = new Binding("Employee.Name") { Mode = BindingMode.OneTime }, |
| DataType = typeof(string), |
| IsReadOnly = true, |
| }; |
But when I scroll I only get the type of the class displayed. I also overwrited the ToString() method of my Employee class, but this doesn't help. Is there another way to set this?
Thanks in advance