悬停单元格时突出显示行和列 [英] Highlight row and column when cell is hovered

查看:119
本文介绍了悬停单元格时突出显示行和列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我要突出显示在WPF DataGrid中其单元格悬停的行和列.
我已将DataGrid的选择单位设置为Cell
我没有仅使用CellStyle来使用RowStyle和ColumnStyle
我已将RowBackground设置为透明.

如何在不使用RowStyle的情况下完成此操作?

谢谢

Hi,

I want to Highlight Row & Columns Whose Cell is Hovered in WPF DataGrid.
I have selection Unit of DataGrid Set to Cell
I have not Used RowStyle & ColumnStyle just using CellStyle
I have set the RowBackground to transparent.

How to Accomplish this without using the RowStyle ?

Thanks

推荐答案

嘿,请检查一下,如果有帮助
http://stackoverflow.com/questions/3701866/highlighting- column-on-a-wpf-datagrid-as-mouse-moves [
Hey, check this out, if it helps
http://stackoverflow.com/questions/3701866/highlighting-columns-on-a-wpf-datagrid-as-mouse-moves[^]


这篇关于悬停单元格时突出显示行和列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆