From eb777fd14fd4e6da3f16c581ecc8eaca6305a374 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Wed, 19 Jan 2022 23:27:49 -0500 Subject: [PATCH] Bind diygrid row hover fill to SelectionHighlight --- src/client/spark/view/Controls/DIYGrid/DIYGrid.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/spark/view/Controls/DIYGrid/DIYGrid.cs b/src/client/spark/view/Controls/DIYGrid/DIYGrid.cs index 6ca2ed4d6..2f066411c 100644 --- a/src/client/spark/view/Controls/DIYGrid/DIYGrid.cs +++ b/src/client/spark/view/Controls/DIYGrid/DIYGrid.cs @@ -275,6 +275,8 @@ namespace mbts.ui.controls { // cell hover adorner _cell_hover_adorner = new DIYGridCellHoverAdorner(this, _scroll_viewer); + _cell_hover_adorner.bind(DIYGridCellHoverAdorner.RowFillProperty, _highlight_path, + ValueConverter.create(c => FrozenBrushCache.get_brush(c.with(40))), _grid); _cell_hover_adorner.SetBinding(VisibilityProperty, new Binding { Path = new PropertyPath(IsMouseOverProperty), Converter = new converters.BooleanToVisibilityConverter(),