如何设置DataGridView网格线? [英] How to set DataGridView Gridlines?

查看:540
本文介绍了如何设置DataGridView网格线?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在查找DataGridView的属性时遇到困难,该属性允许我打开垂直和水平网格线。这存在吗?我无法想象它不存在但我似乎无法找到它。





thanx

[edit(zorgoz):这不是主题的主题。不要将问题描述本身设置为主题!]

I''m having trouble finding a property of the DataGridView that allows me to turn on both Vertical and Horizontal Gridlines. Does this exist? I can''t imagine it not existing but I can''t seem to find it.


thanx
[edit(zorgoz): that was no subject for a topic. Don''t set the question description itself as subject!]

推荐答案

将CellBorderStyle属性设置为Single
Set CellBorderStyle property to Single


这篇关于如何设置DataGridView网格线?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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