Bind diygrid row hover fill to SelectionHighlight
This commit is contained in:
1 parent
fffae3b519
commit
eb777fd14f
1 file changed
+2
@@ -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<Color, Brush>(c => FrozenBrushCache.get_brush(c.with(40))), _grid);
|
||||
_cell_hover_adorner.SetBinding(VisibilityProperty, new Binding {
|
||||
Path = new PropertyPath(IsMouseOverProperty),
|
||||
Converter = new converters.BooleanToVisibilityConverter(),
|
||||
|
||||
Reference in new issue
Block a user