System [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.3300.0 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.

provides an interface that can be used to retrieve and update the values of the Windows Forms Designer options, which are listed within the dialog displayed by the Options command of the Tools menu of the Visual Studio development environment. The method retrieves the value of a specified option. The method sets a specified value for a specified option.

Provides access to the designer options located on the Tools menu under the Options command in the Visual Studio development environment.

- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Object `` ``

  The parameter should consist of "WindowsFormsDesigner\CategoryName", where CategoryName is an options category name without any white space characters. The category name is typically "General". Therefore, you can access the "General" designer options category with the English page name "WindowsFormsDesigner\General".

  The page and value names are always expected in English. Therefore, the following table is provided to help you access the options you want.

  The following table indicates the English value names, their data format, and a description of each:

  Value Name

  Value Format

  Description

  GridSize

  The size of each grid square.

  GridSize.Width

  The width of each grid square. This nested property is read-only when accessed through the designer option service.

  GridSize.Height

  The height of each grid square. This nested property is read-only when accessed through the designer option service.

  ShowGrid

  true if the grid should be shown; false if the grid should not be shown.

  SnapToGrid

  true if the positions of the components should be aligned to the grid; false if the positions should not necessarily be aligned.

  LayoutMode

  Microsoft.VisualStudio.Windows.Forms.LayoutMode

  SnapLines to use snaplines, or SnapToGrid to align controls to the grid,

  ObjectBoundSmartTagAutoShow

  true to allow a component's smart tag panel to open automatically upon creation; otherwise, false.

  AutoToolboxPopulate

  true to automatically add a solution's custom controls and components to the Toolbox; otherwise, false.

  UseOptimizedCodeGeneration

  true if the component cache is enabled; otherwise, false.

  Gets the value of the specified Windows Forms Designer option.

  The value of the specified option.

  The name of the page that defines the option. The name of the option property.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Void `` `` ``

  The parameter should consist of "WindowsFormsDesigner\CategoryName", where CategoryName is an options category name without any white space characters. The category name is typically "General". Therefore, you can access the "General" designer options category with the English page name "WindowsFormsDesigner\General".

  The page and value names are always expected in English. Therefore, the following table is provided to help you access the options you want.

  The following table indicates the English value names, their data format, and a description of each:

  Value Name

  Value Format

  Description

  GridSize

  The size of each grid square.

  GridSize.Width

  The width of each grid square. This nested property is read-only when accessed through the designer option service.

  GridSize.Height

  The height of each grid square. This nested property is read-only when accessed through the designer option service.

  ShowGrid

  true if the grid should be shown; false if the grid should not be shown.

  SnapToGrid

  true if the positions of the components should be aligned to the grid; false if the positions should not necessarily be aligned.

  LayoutMode

  Microsoft.VisualStudio.Windows.Forms.LayoutMode

  SnapLines to use snaplines, or SnapToGrid to align controls to the grid,

  ObjectBoundSmartTagAutoShow

  true to allow a component's smart tag panel to open automatically upon creation; otherwise, false.

  AutoToolboxPopulate

  true to automatically add a solution's custom controls and components to the Toolbox; otherwise, false.

  UseOptimizedCodeGeneration

  true if the component cache is enabled; otherwise, false.

  Sets the value of the specified Windows Forms Designer option.

  The name of the page that defines the option. The name of the option property. The new value.