如何在运行时对datagridview currentcell进行边界处理 [英] how to border the datagridview currentcell on run time

查看:154
本文介绍了如何在运行时对datagridview currentcell进行边界处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关此问题的任何帮助吗?谢谢大家了

解决方案
DataGridView的细胞有一个名为 AdjustCellBorderStyle'通过调用这个方法可以自定义单元格边框方法符文时的风格

DatagridViewCell.AdjustCellborderStyle(VS.80)的.aspx [ ^ ]


http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.currentcell.aspx [< a href =http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.currentcell.aspxtarget =_ blanktitle =New Window> ^ ]



http://msdn.microsoft.com/en-us/library/system.windows.forms。 datagridview.cellborderstyle.aspx [ ^ ]


感谢您的回复,但这不是我想要的,我想只设置一个单元格的边框,而不是列或一行


any help about this problem?thank you all

解决方案

DataGridView Cell has a method called ''AdjustCellBorderStyle'' by calling this method one can customize the cell border style at rune time
DatagridViewCell.AdjustCellborderStyle(VS.80).aspx[^]


http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.currentcell.aspx[^]

http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.cellborderstyle.aspx[^]


thanks for your reply,but that is not what i want,i want to set just one cell''s border,not a column or a row


这篇关于如何在运行时对datagridview currentcell进行边界处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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