Is there a way to obtain the id of Row or of the Cell in a XamDataGrid having the mouse directly over it without it being necessarily the active or selected row/cell?
There is no such thing like MouseOver property for a Cell or a DataRow in a XamDataGrid.
Thanks.
Hello,
The following post shows how to use VisualTreeHelper.HitTest to determine the DataRecord below the mouse point. You can use this in a MouseEnter event handler method.http://blogs.infragistics.com/forums/p/5985/233443.aspx
Thanks,
Ok, I tried using Infragistics.Windows.DataPresenter.Cell with the DataPresenter property to get a instance of the DataPresenterBase type. I tried both IsMouseOver and IsMouseDirectlyOver methods to identify the cell in the XamDataGrid having the mouse over. Neither seem to work.
Any ideas?
It looks like CellValuePresenter has a IsMouseOverRecordProperty dependency property. This should do it.