Hello,
I have a problem with highlining current row on DragOver event.
I have tryied something like this, but it doesn't work:
private void AssociatedObject_DragOver(object sender, DragEventArgs e)
{
Point p1 = e.GetPosition(this.AssociatedObject.InternalGrid);
RowColumnIndex rc = this.AssociatedObject.InternalGrid.PointToCellRowColumnIndex(p1);
hoveredIndex = rc.RowIndex;
}
private void InternalGrid_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
if (e.Style.RowIndex == hoveredIndex)
{
e.Style.Background = System.Windows.Media.Brushes.Black;
}
}