General, Windows Forms Designer, Options Dialog Box
Enables you to change the default settings for the grids and other features of visual designers within Visual Studio. You can open the Options dialog box from the Tools menu.
- Grid Size
Sets the spacing, in pixels, between horizontal and vertical gridlines on the designer. The default size is 8, 8. The maximum size is 200, 200.
Specifies the alignment system to use for layout. You can choose either SnapToGrid or Snaplines. For more information about snaplines, see.
- Show Grid
Specifies whether designers display the sizing grid. By default, the grid is on.
Determines whether designers will snap objects and controls to the grid. In other words, the resizing and movement of elements on the designer are constrained to the GridSize increment when this feature is turned on. Having SnapToGrid turned on makes it easier to line up the various aspects of the user interface precisely, but limits the freedom with which one can place controls. By default, SnapToGrid is turned on. For information about how to set the size of the positioning grid on the form itself, see
Determines whether controls and components will display smart tags. Not all controls and components support smart tags.
When set to true, a rename refactoring operation is performed when you rename a component from the Properties window or Document Outline window.
Determines whether the Toolbox is automatically populated with components and controls build by your project. For more information, see.