System.Windows.Forms.Design 命名空间

System.Windows.Forms.Design 命名空间包含支持 Windows 窗体组件的设计时配置及行为的类。 The System.Windows.Forms.Design namespace contains classes that support design-time configuration and behavior for Windows Forms components. 这些类包括提供 Windows 窗体组件(即一组设计时服务)支持的设计器类、用于配置特定类型的属性的 UITypeEditor 类,以及用于导入 ActiveX 控件的类。 These classes consist of designer classes that provide support for Windows Forms components, a set of design-time services; UITypeEditor classes for configuring certain types of properties, and classes for importing ActiveX controls.

AnchorEditor

提供用于配置 Anchor 属性的用户界面。Provides a user interface for configuring an Anchor property.

AxImporter

导入 ActiveX 控件并生成可由设计器访问的包装。Imports ActiveX controls and generates a wrapper that can be accessed by a designer.

AxImporter.Options

表示 AxImporter 的一组选项。Represents a set of options for an AxImporter.

AxParameterData

表示寄宿 ActiveX 控件的方法的参数。Represents a parameter of a method of a hosted ActiveX control.

AxWrapperGen

生成 ActiveX 控件的包装以供在设计时环境中使用。Generates a wrapper for ActiveX controls for use in the design-time environment.

BorderSidesEditor

提供一个用于设置 BorderSides 属性的编辑器。Provides an editor for setting the BorderSides property.

ComponentDocumentDesigner

基本设计器类,用于扩展根设计文档中支持嵌套组件的设计模式行为。Base designer class for extending the design mode behavior of a root design document that supports nested components.

ComponentEditorForm

WindowsFormsComponentEditor 提供用户界面。Provides a user interface for a WindowsFormsComponentEditor.

ComponentEditorPage

ComponentEditorPage 提供基实现。Provides a base implementation for a ComponentEditorPage.

ComponentTray

为设计器的组件栏提供行为。Provides behavior for the component tray of a designer.

ControlDesigner

扩展 Control 的设计模式行为。Extends the design mode behavior of a Control.

ControlDesigner.ControlDesignerAccessibleObject

AccessibleObject 提供 ControlDesignerProvides an AccessibleObject for ControlDesigner.

DesignerOptions

提供对设计器的获取选项值和设置选项值的访问。Provides access to get and set option values for a designer.

DockEditor

提供用于指定 Dock 属性的用户界面。Provides a user interface for specifying a Dock property.

DocumentDesigner

设计器基类,用于扩展支持嵌套控件并应接收滚动消息的 Control 的设计模式行为,并为其提供根级别设计模式视图。Base designer class for extending the design mode behavior of, and providing a root-level design mode view for, a Control that supports nested controls and should receive scroll messages.

EventHandlerService

为当前文档提供管理事件处理程序的系统方法。Provides a systematic way to manage event handlers for the current document.

EventsTab

提供 PropertyTab,它可以显示事件,以便进行选择和链接。Provides a PropertyTab that can display events for selection and linking.

FileNameEditor

提供用于选择文件名的用户界面。Provides a user interface for selecting a file name.

FolderNameEditor

提供从文件系统选择文件夹的用户界面。Provides a user interface for choosing a folder from the file system.

FolderNameEditor.FolderBrowser

表示一个对话框,用户可以通过该对话框选择文件夹。Represents a dialog box that allows the user to choose a folder. 此类不能被继承。This class cannot be inherited.

ImageListCodeDomSerializer

序列化字符串字典。Serializes string dictionaries.

ImageListImageEditor

提供一个编辑器,它能执行位图 (.bmp) 文件的默认文件搜索。Provides an editor that can perform default file searching for bitmap (.bmp) files.

MaskDescriptor

定义一组派生类成员,以为掩码文本框 UI 类型编辑器提供选项。Defines a set of members for derived classes to provide options for the masked text box UI type editor.

MenuCommands

定义一组 CommandID 字段,每个字段都与宿主环境提供的命令函数相对应。Defines a set of CommandID fields that each correspond to a command function provided by the host environment.

ParentControlDesigner

扩展支持嵌套控件的 Control 的设计模式行为。Extends the design mode behavior of a Control that supports nested controls.

PropertyTab

为属性选项卡提供基类。Provides a base class for property tabs.

ScrollableControlDesigner

设计器基类,用于扩展应接收滚动消息的 Control 的设计模式行为。Base designer class for extending the design mode behavior of a Control which should receive scroll messages.

ShortcutKeysEditor

提供用于选取快捷键的编辑器。Provides an editor for picking shortcut keys.

ToolStripItemDesignerAvailabilityAttribute

指定 ToolStripItem 能够出现在哪些类型中。Specifies which types a ToolStripItem can appear in. 此类不能被继承。This class cannot be inherited.

WindowsFormsComponentEditor

为编辑器提供基类,这些编辑器使用模式对话框来显示与 ActiveX 控件的属性页相似的属性页。Provides a base class for editors that use a modal dialog to display a properties page similar to an ActiveX control's property page.

WindowsFormsDesignerOptionService

提供对 Windows 窗体设计器的获取选项值和设置选项值的访问。Provides access to get and set option values for a Windows Forms designer.

结构

ThemedScrollbarWindow

表示一个窗口和一个值,指示窗口滚动条当在 Visual Studio 设计器中显示时如何主题化。Represents a window and a value that indicates how its scrollbars should be themed when displayed in the Visual Studio designer.

接口

AxImporter.IReferenceResolver

提供方法来解析对 ActiveX 库、COM 类型库或程序集或托管程序集的引用。Provides methods to resolve references to ActiveX libraries, COM type libraries or assemblies, or managed assemblies.

IContainsThemedScrollbarWindows

定义有关获得当窗口的滚动条在 Visual Studio 设计器中显示时需要如何主题化的信息的方法。Defines a method for getting information about how the scrollbars of windows need to be themed when displayed in the Visual Studio designer.

IMenuEditorService

提供对菜单编辑服务的访问。Provides access to the menu editing service.

IUIService

启用与开发环境对象(正在承载设计器)的用户界面的交互。Enables interaction with the user interface of the development environment object that is hosting the designer.

IWindowsFormsEditorService

UITypeEditor 提供一个接口,用于显示 Windows 窗体,或者在设计模式下在属性网格控件的下拉区域中显示控件。Provides an interface for a UITypeEditor to display Windows Forms or to display a control in a drop-down area from a property grid control in design mode.

枚举

ComponentActionsType
FolderNameEditor.FolderBrowserFolder

定义用于指示文件夹浏览器最初浏览到的根文件夹的标识符。Defines identifiers used to indicate the root folder for a folder browser to initially browse to.

FolderNameEditor.FolderBrowserStyles

定义用于指定 FolderNameEditor.FolderBrowser 的行为的标识符。Defines identifiers used to specify behavior of a FolderNameEditor.FolderBrowser.

SelectionRules

定义用于指示组件的选择规则的标识符。Defines identifiers that are used to indicate selection rules for a component.

ThemedScrollbarMode

一个值,指示窗口及其子窗口的滚动条当在 Visual Studio 设计器中显示时是否主题化。A value that indicates whether the scrollbars of a window and its children will be themed when displayed in the Visual Studio designer.

ToolStripItemDesignerAvailability

指定在设计器中可见的控件。Specifies controls that are visible in the designer.