如何在Visual Studio 2010中更改“快照网格"? [英] How can you change the 'Snap Grid' in Visual Studio 2010?

查看:118
本文介绍了如何在Visual Studio 2010中更改“快照网格"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在Visual C#2010 Express中制作Winforms C#应用程序.我想以网格形状放置许多彼此接触的图片框.但是,Visual Studio具有临近控件"功能,这会将控件相距约10像素.我想知道是否可以更改其捕捉到的距离,以便让图片框捕捉到触摸状态?

希望解释不会太复杂!

Hi,

I am making a Winforms C# application in Visual C# 2010 Express. I want to place lots of picture boxes, all touching eachother, in a grid shape. However, Visual Studio has a snap-to-nearby-controls feature, and this snaps the controls to about 10px apart. I was wondering if I could change the distance that it snaps to, so I could have the picture boxes snap to a touching state?

Hope that explanation wasn''t too complicated!

Thanks!

推荐答案

如果转到工具"->选项"->"WindowsFormDesigner",则应该找到可以更改的ShowGrid和SnapToGrid和GridSize值.我不太确定控制捕捉的控件.
If you go to Tools->Options->WindowsFormDesigner you should find the ShowGrid and SnapToGrid and GridSize values that you can change. The control to control snapping I''m not too sure about.


这篇关于如何在Visual Studio 2010中更改“快照网格"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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