本文介绍了在WPF DATAGRID中只读取行/列或行/列的一部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是wpf的新手,我试图创建一个wpf数据网格,其中列/行或列/行的一部分只读。我知道你可以使用isReadOnly属性读取整个网格,并且只使用DataGridTextColumn的isReadonly属性来读取整个列,但是如何只读取列/行的一部分?或者只有一个单元格只读取整个网格?

任何帮助都表示赞赏。

提前致谢。

Hi,
I am new to wpf and i was trying to make a wpf datagrid where a column/row or part of a column/row read only. I know you can make the whole grid read only with the isReadOnly property and also make the whole column read only using the DataGridTextColumn's isReadonly property but how can i make only a part of the column/row read only ? or only one cell read only in the whole grid?
Any help is appreciated.
Thanks in advance.

推荐答案


这篇关于在WPF DATAGRID中只读取行/列或行/列的一部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 03:32