开发者

How to enable Design Ruler on VS.NET winform?

开发者 https://www.devze.com 2023-01-22 07:15 出处:网络
When Creating and Adjusting Controls on Winforms visual studio has its intellisense ruler so you can 开发者_如何学运维Arrange all controls symetrically.

When Creating and Adjusting Controls on Winforms visual studio has its intellisense ruler so you can 开发者_如何学运维Arrange all controls symetrically.

Now My Problem is i dont know how to Enable this again in VS.Where can i see the option to enable that tools again.

Thanks in Regards


There are a couple of options:

You can use either SnapLines or SnapToGrid by changing settings here:

Tools -> Options -> Windows Forms Designer -> General -> Layout Mode (and ShowGrid, SnapToGrid)

Note, you'll need to close and reopen the designer for the changes to take effect.

Or, you can align controls by selecting the ones you wish to align and using alignment functions on the Layout toolbar. To display the Layout toolbar, right-click on an empty area of your toolbar (you should then see a long list of available toolbars), and check the checkbox for "Layout".

0

精彩评论

暂无评论...
验证码 换一张
取 消