System.Windows.Forms Namespace

System.Windows.Forms 命名空间包含用于创建基于 Windows 的应用程序的类,以充分利用 Microsoft Windows 操作系统中提供的丰富的用户界面功能。 The System.Windows.Forms namespace contains classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows operating system.

AccessibleObject

提供辅助功能应用程序用于为残疾用户调整应用程序的用户界面 (UI) 的信息。 Provides information that accessibility applications use to adjust an application's user interface (UI) for users with impairments.

AmbientProperties

为顶级控件提供环境属性值。 Provides ambient property values to top-level controls.

Application

提供 static 方法和属性以管理应用程序,例如启动和停止应用程序、处理 Windows 消息的方法和获取应用程序信息的属性。 Provides static methods and properties to manage an application, such as methods to start and stop an application, to process Windows messages, and properties to get information about an application. 此类不能被继承。 This class cannot be inherited.

ApplicationContext

指定有关应用程序线程的上下文信息。 Specifies the contextual information about an application thread.

AutoCompleteStringCollection

包含一个字符串集合,它用于某些 Windows 窗体控件上的自动完成功能。 Contains a collection of strings to use for the auto-complete feature on certain Windows Forms controls.

AxHost

包装 ActiveX 控件,并将它们作为功能完整的 Windows 窗体控件公开。 Wraps ActiveX controls and exposes them as fully featured Windows Forms controls.

AxHost.AxComponentEditor

提供一个编辑器,该编辑器使用模式对话框显示 ActiveX 控件的属性页。 Provides an editor that uses a modal dialog box to display a property page for an ActiveX control.

AxHost.ClsidAttribute

指定 AxHost 控件所承载的 ActiveX 控件的 CLSID。 Specifies the CLSID of an ActiveX control hosted by an AxHost control.

AxHost.ConnectionPointCookie

将一个 ActiveX 控件连接到处理该控件的事件的客户端。 Connects an ActiveX control to a client that handles the control’s events.

AxHost.InvalidActiveXStateException

引用处于无效状态的 ActiveX 控件时引发的异常。 The exception that is thrown when the ActiveX control is referenced while in an invalid state.

AxHost.State

封装 ActiveX 控件的持久状态。 Encapsulates the persisted state of an ActiveX control.

AxHost.StateConverter

AxHost.State 对象从一种数据类型转换成另一种数据类型。 Converts AxHost.State objects from one data type to another.

AxHost.TypeLibraryTimeStampAttribute

指定与 AxHost 控件所承载的 ActiveX 控件的类型库相关联的日期和时间。 Specifies a date and time associated with the type library of an ActiveX control hosted by an AxHost control.

BaseCollection

提供用于在 System.Windows.Forms 命名空间中创建与数据相关的集合的基本功能。 Provides the base functionality for creating data-related collections in the System.Windows.Forms namespace.

Binding

代表某对象属性值和某控件属性值之间的简单绑定。 Represents the simple binding between the property value of an object and the property value of a control.

BindingCompleteEventArgs

BindingComplete 事件提供数据。 Provides data for the BindingComplete event.

BindingContext

管理任何继承自 Control 类的对象的 BindingManagerBase 对象集合。 Manages the collection of BindingManagerBase objects for any object that inherits from the Control class.

BindingManagerBase

管理绑定到相同数据源和数据成员的所有 Binding 对象。 Manages all Binding objects that are bound to the same data source and data member. 该类为抽象类。 This class is abstract.

BindingManagerDataErrorEventArgs

DataError 事件提供数据。 Provides data for the DataError event.

BindingNavigator

表示窗体上绑定到数据的控件的导航和操作用户界面 (UI)。 Represents the navigation and manipulation user interface (UI) for controls on a form that are bound to data.

BindingsCollection

代表某控件的 Binding 对象的集合。 Represents a collection of Binding objects for a control.

BindingSource

封装窗体的数据源。 Encapsulates the data source for a form.

Button

表示 Windows 按钮控件。 Represents a Windows button control.

ButtonBase

实现按钮控件共同的基本功能。 Implements the basic functionality common to button controls.

ButtonBase.ButtonBaseAccessibleObject

提供相关信息,辅助功能应用程序可使用此信息为残疾用户调整应用程序的用户界面。 Provides information that accessibility applications use to adjust an application's user interface for users with disabilities.

ButtonRenderer

提供一些方法,这些方法使用或不使用视觉样式呈现按钮控件。 Provides methods used to render a button control with or without visual styles. 此类不能被继承。 This class cannot be inherited.

CacheVirtualItemsEventArgs

CacheVirtualItems 事件提供数据。 Provides data for the CacheVirtualItems event.

CheckBox

表示 Windows CheckBox Represents a Windows CheckBox.

CheckBox.CheckBoxAccessibleObject

CheckBox 控件的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about the CheckBox control to accessibility client applications.

CheckBoxRenderer

提供用于呈现具有或不具有可视样式的复选框控件的方法。 Provides methods used to render a check box control with or without visual styles. 此类不能被继承。 This class cannot be inherited.

CheckedListBox

显示一个 ListBox,其中在每项的左边显示一个复选框。 Displays a ListBox in which a check box is displayed to the left of each item.

CheckedListBox.CheckedIndexCollection

封装 CheckedListBox 中选中的项(包括处于不确定状态的项)的索引集合。 Encapsulates the collection of indexes of checked items (including items in an indeterminate state) in a CheckedListBox.

CheckedListBox.CheckedItemCollection

封装 CheckedListBox 控件中选中项(包括处于不确定状态的项)的集合。 Encapsulates the collection of checked items, including items in an indeterminate state, in a CheckedListBox control.

CheckedListBox.ObjectCollection

表示 CheckedListBox 中项的集合。 Represents the collection of items in a CheckedListBox.

Clipboard

提供将数据置于系统剪贴板中以及从中检索数据的方法。 Provides methods to place data on and retrieve data from the system Clipboard. 此类不能被继承。 This class cannot be inherited.

ColorDialog

表示一个通用对话框,该对话框显示可用的颜色以及允许用户定义自定义颜色的控件。 Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.

ColumnClickEventArgs

ColumnClick 事件提供数据。 Provides data for the ColumnClick event.

ColumnHeader

ListView 控件中显示一个列标题。 Displays a single column header in a ListView control.

ColumnHeaderConverter

提供类型转换器,用于转换 ColumnHeader 对象的类型。 Provides a type converter to convert ColumnHeader objects from one type to another.

ColumnReorderedEventArgs

ColumnReordered 事件提供数据。 Provides data for the ColumnReordered event.

ColumnStyle

表示在表布局中列的外观。 Represents the look and feel of a column in a table layout.

ColumnWidthChangedEventArgs

ColumnWidthChanged 事件提供数据。 Provides data for the ColumnWidthChanged event.

ColumnWidthChangingEventArgs

ColumnWidthChanging 事件提供数据。 Provides data for the ColumnWidthChanging event.

ComboBox

表示 Windows 组合框控件。 Represents a Windows combo box control.

ComboBox.ChildAccessibleObject

ComboBox 控件的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about the ComboBox control to accessibility client applications.

ComboBox.ObjectCollection

代表 ComboBox 中项的集合。 Represents the collection of items in a ComboBox.

ComboBoxRenderer

提供用于以视觉样式呈现组合框控件的方法。 Provides methods used to render a combo box control with visual styles. 此类不能被继承。 This class cannot be inherited.

CommonDialog

指定用于在屏幕上显示对话框的基类。 Specifies the base class used for displaying dialog boxes on the screen.

ContainerControl

为可用作其他控件的容器的控件提供焦点管理功能。 Provides focus-management functionality for controls that can function as a container for other controls.

ContentsResizedEventArgs

ContentsResized 事件提供数据。 Provides data for the ContentsResized event.

ContextMenu

表示快捷菜单。 Represents a shortcut menu. 尽管 ContextMenuStrip 替换了早期版本的 ContextMenu 控件并添加了功能;但是也可选择保留 ContextMenu 以备向后兼容和将来使用。 Although ContextMenuStrip replaces and adds functionality to the ContextMenu control of previous versions, ContextMenu is retained for both backward compatibility and future use if you choose.

ContextMenuStrip

表示快捷菜单。 Represents a shortcut menu.

Control

定义控件的基类,控件是带有可视化表示形式的组件。 Defines the base class for controls, which are components with visual representation.

Control.ControlAccessibleObject

提供有关辅助功能应用程序可使用的控件的信息。 Provides information about a control that can be used by an accessibility application.

Control.ControlCollection

表示 Control 对象集合。 Represents a collection of Control objects.

ControlBindingsCollection

代表控件的数据绑定的集合。 Represents the collection of data bindings for a control.

ControlEventArgs

提供有关 ControlAddedControlRemoved 事件的数据。 Provides data for the ControlAdded and ControlRemoved events.

ControlPaint

提供用于绘制常用 Windows 控件及其元素的方法。 Provides methods used to paint common Windows controls and their elements. 此类不能被继承。 This class cannot be inherited.

ConvertEventArgs

提供有关 FormatParse 事件的数据。 Provides data for the Format and Parse events.

CreateParams

封装创建控件时所需的信息。 Encapsulates the information needed when creating a control.

CurrencyManager

管理 Binding 对象的列表。 Manages a list of Binding objects.

Cursor

代表用于绘制鼠标指针的图像。 Represents the image used to paint the mouse pointer.

CursorConverter

提供将 Cursor 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert Cursor objects to and from various other representations.

Cursors

提供由 Windows 窗体应用程序使用的 Cursor 对象的集合。 Provides a collection of Cursor objects for use by a Windows Forms application.

DataFormats

提供 static 预定义的 Clipboard 格式名称。 Provides static, predefined Clipboard format names. 使用它们来标识存储在 IDataObject 中的数据的格式。 Use them to identify the format of data that you store in an IDataObject.

DataFormats.Format

表示剪贴板格式类型。 Represents a Clipboard format type.

DataGrid

在可滚动的网格中显示 ADO.NET 数据。 Displays ADO.NET data in a scrollable grid. DataGridView 控件取代了 DataGrid 控件并添加了功能;但是,可以选择保留 DataGrid 控件以实现向后兼容并供将来使用。 The DataGridView control replaces and adds functionality to the DataGrid control; however, the DataGrid control is retained for both backward compatibility and future use, if you choose.

DataGrid.HitTestInfo

包含有关指定坐标处的 DataGrid 一部分的信息。 Contains information about a part of the DataGrid at a specified coordinate. 此类不能被继承。 This class cannot be inherited.

DataGridBoolColumn

指定一列,该列中每个单元格均包含一个表示布尔值的复选框。 Specifies a column in which each cell contains a check box for representing a Boolean value.

DataGridColumnStyle

指定 DataGrid 控件列的外观、文本格式和行为。 Specifies the appearance, text formatting, and behavior of a DataGrid control column. 此类为抽象类。 This class is abstract.

DataGridColumnStyle.CompModSwitches

包含由 .NET Framework 基础结构使用的 TraceSwitch Contains a TraceSwitch that is used by the .NET Framework infrastructure.

DataGridColumnStyle.DataGridColumnHeaderAccessibleObject

提供可由辅助功能应用程序检查的对象的实现。 Provides an implementation for an object that can be inspected by an accessibility application.

DataGridPreferredColumnWidthTypeConverter

将对象的值转换为不同的数据类型。 Converts the value of an object to a different data type.

DataGridTableStyle

表示 DataGrid 控件在运行时绘制的表。 Represents the table drawn by the DataGrid control at run time.

DataGridTextBox

代表 TextBox 中承载的 DataGridTextBoxColumn 控件。 Represents a TextBox control that is hosted in a DataGridTextBoxColumn.

DataGridTextBoxColumn

TextBox 的单元格中承载 DataGridColumnStyle 控件以便编辑字符串。 Hosts a TextBox control in a cell of a DataGridColumnStyle for editing strings.

DataGridView

在可自定义的网格中显示数据。 Displays data in a customizable grid.

DataGridView.DataGridViewAccessibleObject

DataGridView 控件的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about the DataGridView control to accessibility client applications.

DataGridView.DataGridViewControlCollection

表示 DataGridView 中包含的控件集合。 Represents a collection of controls contained on a DataGridView.

DataGridView.DataGridViewTopRowAccessibleObject

DataGridViewColumnHeaderCell 对象的行的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about a row of DataGridViewColumnHeaderCell objects to accessibility client applications.

DataGridView.HitTestInfo

包含关于 DataGridView 控件中指定坐标对的信息,如行和列索引。 Contains information, such as the row and column indexes, about a specific coordinate pair in the DataGridView control. 此类不能被继承。 This class cannot be inherited.

DataGridViewAdvancedBorderStyle

包含 DataGridView 控件中的单元格的边框样式。 Contains border styles for the cells in a DataGridView control.

DataGridViewAutoSizeColumnModeEventArgs

AutoSizeColumnModeChanged 事件提供数据。 Provides data for the AutoSizeColumnModeChanged event.

DataGridViewAutoSizeColumnsModeEventArgs

AutoSizeColumnsModeChanged 事件提供数据。 Provides data for the AutoSizeColumnsModeChanged event.

DataGridViewAutoSizeModeEventArgs

提供有关 DataGridViewAutoSizeRowsModeChangedRowHeadersWidthSizeModeChanged 事件的数据。 Provides data for the DataGridViewAutoSizeRowsModeChanged and RowHeadersWidthSizeModeChanged events.

DataGridViewBand

表示 DataGridView 控件中的元素的线性集合。 Represents a linear collection of elements in a DataGridView control.

DataGridViewBindingCompleteEventArgs

DataBindingComplete 事件提供数据。 Provides data for the DataBindingComplete event.

DataGridViewButtonCell

显示在 DataGridView 控件中使用的类似按钮的用户界面 (UI)。 Displays a button-like user interface (UI) for use in a DataGridView control.

DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject

DataGridViewButtonCell 的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about a DataGridViewButtonCell to accessibility client applications.

DataGridViewButtonColumn

承载一个 DataGridViewButtonCell 对象集合。 Hosts a collection of DataGridViewButtonCell objects.

DataGridViewCell

表示 DataGridView 控件中的单个单元格。 Represents an individual cell in a DataGridView control.

DataGridViewCell.DataGridViewCellAccessibleObject

DataGridViewCell 的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about a DataGridViewCell to accessibility client applications.

DataGridViewCellCancelEventArgs

CellBeginEditRowValidating 事件提供数据。 Provides data for CellBeginEdit and RowValidating events.

DataGridViewCellCollection

表示 DataGridViewRow 中单元格的集合。 Represents a collection of cells in a DataGridViewRow.

DataGridViewCellContextMenuStripNeededEventArgs

CellContextMenuStripNeeded 事件提供数据。 Provides data for the CellContextMenuStripNeeded event.

DataGridViewCellErrorTextNeededEventArgs

CellErrorTextNeeded 控件的 DataGridView 事件提供数据。 Provides data for the CellErrorTextNeeded event of a DataGridView control.

DataGridViewCellEventArgs

为与单元格和行操作有关的 DataGridView 事件提供数据。 Provides data for DataGridView events related to cell and row operations.

DataGridViewCellFormattingEventArgs

DataGridViewCellFormatting 事件提供数据。 Provides data for the CellFormatting event of a DataGridView.

DataGridViewCellMouseEventArgs

每当鼠标在 DataGridView 内移动时,都会为 DataGridViewCell 引发的鼠标事件提供数据。 Provides data for mouse events raised by a DataGridView whenever the mouse is moved within a DataGridViewCell.

DataGridViewCellPaintingEventArgs

CellPainting 事件提供数据。 Provides data for the CellPainting event.

DataGridViewCellParsingEventArgs

CellParsing 控件的 DataGridView 事件提供数据。 Provides data for the CellParsing event of a DataGridView control.

DataGridViewCellStateChangedEventArgs

CellStateChanged 事件提供数据。 Provides data for the CellStateChanged event.

DataGridViewCellStyle

表示应用到 DataGridView 控件中的各个单元格的格式设置和样式信息。 Represents the formatting and style information applied to individual cells within a DataGridView control.

DataGridViewCellStyleContentChangedEventArgs

CellStyleContentChanged 事件提供数据。 Provides data for the CellStyleContentChanged event.

DataGridViewCellStyleConverter

DataGridViewCellStyle 对象与其他数据类型之间进行转换。 Converts DataGridViewCellStyle objects to and from other data types.

DataGridViewCellToolTipTextNeededEventArgs

CellToolTipTextNeeded 事件提供数据。 Provides data for the CellToolTipTextNeeded event.

DataGridViewCellValidatingEventArgs

CellValidating 控件的 DataGridView 事件提供数据。 Provides data for the CellValidating event of a DataGridView control.

DataGridViewCellValueEventArgs

CellValueNeeded 控件的 CellValuePushedDataGridView 事件提供数据。 Provides data for the CellValueNeeded and CellValuePushed events of the DataGridView control.

DataGridViewCheckBoxCell

显示要在 DataGridView 控件中使用的复选框用户界面 (UI)。 Displays a check box user interface (UI) to use in a DataGridView control.

DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject

DataGridViewCheckBoxCell 的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about a DataGridViewCheckBoxCell to accessibility client applications.

DataGridViewCheckBoxColumn

承载一个 DataGridViewCheckBoxCell 对象集合。 Hosts a collection of DataGridViewCheckBoxCell objects.

DataGridViewColumn

表示 DataGridView 控件中的列。 Represents a column in a DataGridView control.

DataGridViewColumnCollection

表示 DataGridViewColumn 控件中 DataGridView 对象的集合。 Represents a collection of DataGridViewColumn objects in a DataGridView control.

DataGridViewColumnDesignTimeVisibleAttribute

指定列类型在 DataGridView 设计器中是否可见。 Specifies whether a column type is visible in the DataGridView designer. 此类不能被继承。 This class cannot be inherited.

DataGridViewColumnDividerDoubleClickEventArgs

DataGridViewColumnDividerDoubleClick 事件提供数据。 Provides data for the ColumnDividerDoubleClick event of a DataGridView.

DataGridViewColumnEventArgs

DataGridView 的列相关事件提供数据。 Provides data for column-related events of a DataGridView.

DataGridViewColumnHeaderCell

表示 DataGridView 控件中的列标头。 Represents a column header in a DataGridView control.

DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject

DataGridViewColumnHeaderCell 的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about a DataGridViewColumnHeaderCell to accessibility client applications.

DataGridViewColumnStateChangedEventArgs

ColumnStateChanged 事件提供数据。 Provides data for the ColumnStateChanged event.

DataGridViewComboBoxCell

显示 DataGridView 控件中的组合框。 Displays a combo box in a DataGridView control.

DataGridViewComboBoxCell.DataGridViewComboBoxCellAccessibleObject

表示当前 DataGridViewComboBoxCell 对象的辅助功能对象。 Represents the accessibility object for the current DataGridViewComboBoxCell object.

DataGridViewComboBoxCell.ObjectCollection

表示 DataGridViewComboBoxCell 中的选项的集合。 Represents the collection of selection choices in a DataGridViewComboBoxCell.

DataGridViewComboBoxColumn

表示 DataGridViewComboBoxCell 对象的列。 Represents a column of DataGridViewComboBoxCell objects.

DataGridViewComboBoxEditingControl

表示 DataGridViewComboBoxCell 中承载的组合框控件。 Represents the hosted combo box control in a DataGridViewComboBoxCell.

DataGridViewDataErrorEventArgs

DataError 事件提供数据。 Provides data for the DataError event.

DataGridViewEditingControlShowingEventArgs

EditingControlShowing 事件提供数据。 Provides data for the EditingControlShowing event.

DataGridViewElement

DataGridView 控件的元素提供基类。 Provides the base class for elements of a DataGridView control.

DataGridViewHeaderCell

包含行标头单元格和列标头单元格常用的功能。 Contains functionality common to row header cells and column header cells.

DataGridViewImageCell

显示 DataGridView 控件中的图形。 Displays a graphic in a DataGridView control.

DataGridViewImageCell.DataGridViewImageCellAccessibleObject

DataGridViewImageCell 的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about a DataGridViewImageCell to accessibility client applications.

DataGridViewImageColumn

承载一个 DataGridViewImageCell 对象集合。 Hosts a collection of DataGridViewImageCell objects.

DataGridViewLinkCell

表示包含链接的单元格。 Represents a cell that contains a link.

DataGridViewLinkCell.DataGridViewLinkCellAccessibleObject

DataGridViewLinkCell 控件的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about a DataGridViewLinkCell control to accessibility client applications.

DataGridViewLinkColumn

表示 DataGridView 控件中包含链接的单元格的列。 Represents a column of cells that contain links in a DataGridView control.

DataGridViewRow

表示 DataGridView 控件中的行。 Represents a row in a DataGridView control.

DataGridViewRow.DataGridViewRowAccessibleObject

将有关 DataGridViewRow 的信息提供给具有辅助功能的客户端应用程序。 Provides information about a DataGridViewRow to accessibility client applications.

DataGridViewRowCancelEventArgs

UserDeletingRowDataGridView 事件提供数据。 Provides data for the UserDeletingRow event of a DataGridView.

DataGridViewRowCollection

DataGridViewRow 对象的集合。 A collection of DataGridViewRow objects.

DataGridViewRowContextMenuStripNeededEventArgs

RowContextMenuStripNeeded 事件提供数据。 Provides data for the RowContextMenuStripNeeded event.

DataGridViewRowDividerDoubleClickEventArgs

DataGridViewRowDividerDoubleClick 事件提供数据。 Provides data for the RowDividerDoubleClick event of a DataGridView.

DataGridViewRowErrorTextNeededEventArgs

RowErrorTextNeeded 控件的 DataGridView 事件提供数据。 Provides data for the RowErrorTextNeeded event of a DataGridView control.

DataGridViewRowEventArgs

为与行相关的 DataGridView 事件提供数据。 Provides data for row-related DataGridView events.

DataGridViewRowHeaderCell

表示 DataGridView 控件中的行标头。 Represents a row header of a DataGridView control.

DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject

将有关 DataGridViewRowHeaderCell 的信息提供给具有辅助功能的客户端应用程序。 Provides information about a DataGridViewRowHeaderCell to accessibility client applications.

DataGridViewRowHeightInfoNeededEventArgs

DataGridViewRowHeightInfoNeeded 事件提供数据。 Provides data for the RowHeightInfoNeeded event of a DataGridView.

DataGridViewRowHeightInfoPushedEventArgs

DataGridViewRowHeightInfoPushed 事件提供数据。 Provides data for the RowHeightInfoPushed event of a DataGridView.

DataGridViewRowPostPaintEventArgs

RowPostPaint 事件提供数据。 Provides data for the RowPostPaint event.

DataGridViewRowPrePaintEventArgs

RowPrePaint 事件提供数据。 Provides data for the RowPrePaint event.

DataGridViewRowsAddedEventArgs

RowsAdded 事件提供数据。 Provides data for the RowsAdded event.

DataGridViewRowsRemovedEventArgs

RowsRemoved 事件提供数据。 Provides data for the RowsRemoved event.

DataGridViewRowStateChangedEventArgs

RowStateChangedDataGridView 事件提供数据。 Provides data for the RowStateChanged event of a DataGridView.

DataGridViewSelectedCellCollection

表示在 DataGridView 中选择的单元格的集合。 Represents a collection of cells that are selected in a DataGridView.

DataGridViewSelectedColumnCollection

表示在 DataGridView 中选择的 DataGridViewColumn 对象的集合。 Represents a collection of DataGridViewColumn objects that are selected in a DataGridView.

DataGridViewSelectedRowCollection

表示在 DataGridView 中选择的 DataGridViewRow 对象的集合。 Represents a collection of DataGridViewRow objects that are selected in a DataGridView.

DataGridViewSortCompareEventArgs

SortCompare 事件提供数据。 Provides data for the SortCompare event.

DataGridViewTextBoxCell

显示 DataGridView 控件中的可编辑文本信息。 Displays editable text information in a DataGridView control.

DataGridViewTextBoxCell.DataGridViewTextBoxCellAccessibleObject

表示当前 DataGridViewTextBoxCell 对象的辅助功能对象。 Represents the accessibility object for the current DataGridViewTextBoxCell object.

DataGridViewTextBoxColumn

承载一个 DataGridViewTextBoxCell 单元格集合。 Hosts a collection of DataGridViewTextBoxCell cells.

DataGridViewTextBoxEditingControl

表示可以承载于 DataGridViewTextBoxCell 中的文本框控件。 Represents a text box control that can be hosted in a DataGridViewTextBoxCell.

DataGridViewTopLeftHeaderCell

表示位于行标头之上、列标头左侧的 DataGridView 左上角的单元格。 Represents the cell in the top left corner of the DataGridView that sits above the row headers and to the left of the column headers.

DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject

DataGridViewTopLeftHeaderCell 的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about a DataGridViewTopLeftHeaderCell to accessibility client applications.

DataObject

实现基数据传输机制。 Implements a basic data transfer mechanism.

DateBoldEventArgs

MonthCalendar 控件内部的事件提供数据。 Provides data for events that are internal to the MonthCalendar control.

DateRangeEventArgs

DateChanged 控件的 DateSelectedMonthCalendar 事件提供数据。 Provides data for the DateChanged or DateSelected events of the MonthCalendar control.

DateTimePicker

表示一个 Windows 控件,该控件用来让用户选择日期和时间并以指定的格式显示此日期和时间。 Represents a Windows control that allows the user to select a date and a time and to display the date and time with a specified format.

DateTimePicker.DateTimePickerAccessibleObject

DateTimePicker 控件的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about the DateTimePicker control to accessibility client applications.

DockingAttribute

指定控件的默认停靠行为。 Specifies the default docking behavior for a control.

DomainUpDown

表示显示字符串值的 Windows 数字显示框(也称为 up-down 控件)。 Represents a Windows spin box (also known as an up-down control) that displays string values.

DomainUpDown.DomainItemAccessibleObject

将有关 DomainUpDown 控件中的项的信息提供给具有辅助功能的客户端应用程序。 Provides information about the items in the DomainUpDown control to accessibility client applications.

DomainUpDown.DomainUpDownAccessibleObject

DomainUpDown 控件的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about the DomainUpDown control to accessibility client applications.

DomainUpDown.DomainUpDownItemCollection

封装一个对象集合供 DomainUpDown 类使用。 Encapsulates a collection of objects for use by the DomainUpDown class.

DpiChangedEventArgs

为窗体或控件的 DPIChanged 事件提供数据。 Provides data for the DPIChanged events of a form or control.

DragEventArgs

DragDropDragEnterDragOver 事件提供数据。 Provides data for the DragDrop, DragEnter, or DragOver event.

DrawItemEventArgs

DrawItem 事件提供数据。 Provides data for the DrawItem event.

DrawListViewColumnHeaderEventArgs

DrawColumnHeader 事件提供数据。 Provides data for the DrawColumnHeader event.

DrawListViewItemEventArgs

DrawItem 事件提供数据。 Provides data for the DrawItem event.

DrawListViewSubItemEventArgs

DrawSubItem 事件提供数据。 Provides data for the DrawSubItem event.

DrawToolTipEventArgs

Draw 事件提供数据。 Provides data for the Draw event.

DrawTreeNodeEventArgs

DrawNode 事件提供数据。 Provides data for the DrawNode event.

ErrorProvider

提供一个用户界面,用于指示窗体上的某个控件具有与其相关联的错误。 Provides a user interface for indicating that a control on a form has an error associated with it.

FeatureSupport

提供用于从当前系统中检索功能信息的 static 方法。 Provides static methods for retrieving feature information from the current system.

FileDialog

显示一个用户可从中选择文件的对话框窗口。 Displays a dialog box from which the user can select a file.

FileDialogCustomPlace

表示 Windows Vista 的 FileDialog 自定义空间集合中的项。 Represents an entry in a FileDialog custom place collection for Windows Vista.

FileDialogCustomPlacesCollection

表示 FileDialog 类的 Windows Vista 自定义区域的集合。 Represents a collection of Windows Vista custom places for the FileDialog class.

FlatButtonAppearance

提供一些属性,这些属性可指定 ButtonFlatStyleFlat 控件的外观。 Provides properties that specify the appearance of Button controls whose FlatStyle is Flat.

FlowLayoutPanel

表示以水平或垂直方式动态布置其内容的面板。 Represents a panel that dynamically lays out its contents horizontally or vertically.

FlowLayoutSettings

收集与流布局相关联的特性。 Collects the characteristics associated with flow layouts.

FolderBrowserDialog

提示用户选择文件夹。 Prompts the user to select a folder. 此类不能被继承。 This class cannot be inherited.

FontDialog

提示用户从本地计算机上安装的字体中选择一种字体。 Prompts the user to choose a font from among those installed on the local computer.

Form

表示组成应用程序的用户界面的窗口或对话框。 Represents a window or dialog box that makes up an application's user interface.

Form.ControlCollection

表示窗体上控件的集合。 Represents a collection of controls on the form.

FormClosedEventArgs

FormClosed 事件提供数据。 Provides data for the FormClosed event.

FormClosingEventArgs

FormClosing 事件提供数据。 Provides data for the FormClosing event.

FormCollection

表示 Form 对象集合。 Represents a collection of Form objects.

GiveFeedbackEventArgs

GiveFeedback 事件提供数据,该事件在拖动操作期间发生。 Provides data for the GiveFeedback event, which occurs during a drag operation.

GridColumnStylesCollection

表示 DataGridColumnStyle 控件中的 DataGrid 对象的集合。 Represents a collection of DataGridColumnStyle objects in the DataGrid control.

GridItem

实现 PropertyGrid 中的一行。 Implements one row in a PropertyGrid.

GridItemCollection

包含 GridItem 对象的集合。 Contains a collection of GridItem objects.

GridTablesFactory

提供 CreateGridTables(DataGridTableStyle, Object, String, BindingContext) 方法。 Provides the CreateGridTables(DataGridTableStyle, Object, String, BindingContext) method.

GridTableStylesCollection

表示 DataGridTableStyle 控件中的 DataGrid 对象的集合。 Represents a collection of DataGridTableStyle objects in the DataGrid control.

GroupBox

表示一个 Windows 控件,该控件显示围绕一组具有可选标题的控件的框架。 Represents a Windows control that displays a frame around a group of controls with an optional caption.

GroupBoxRenderer

提供用于呈现具有或没有视觉样式的分组框控件的方法。 Provides methods used to render a group box control with or without visual styles. 此类不能被继承。 This class cannot be inherited.

HandledMouseEventArgs

允许自定义控件防止将 MouseWheel 事件发送到它的父容器。 Allows a custom control to prevent the MouseWheel event from being sent to its parent container.

Help

封装 HTML 帮助 1.0 引擎。 Encapsulates the HTML Help 1.0 engine.

HelpEventArgs

HelpRequested 事件提供数据。 Provides data for the HelpRequested event.

HelpProvider

为控件提供弹出帮助或联机帮助。 Provides pop-up or online Help for controls.

HScrollBar

表示一个标准 Windows 水平滚动条。 Represents a standard Windows horizontal scroll bar.

HScrollProperties

HScrollBar 提供基本属性 Provides basic properties for the HScrollBar

HtmlDocument

提供对 WebBrowser 控件承载的 HTML 文档的顶级编程访问。 Provides top-level programmatic access to an HTML document hosted by the WebBrowser control.

HtmlElement

表示网页内的一个 HTML 元素。 Represents an HTML element inside of a Web page.

HtmlElementCollection

定义 HtmlElement 对象的集合。 Defines a collection of HtmlElement objects.

HtmlElementErrorEventArgs

Error 事件提供数据。 Provides data for the Error event.

HtmlElementEventArgs

HtmlDocumentHtmlElement 上定义的事件提供数据。 Provides data for the events defined on HtmlDocument and HtmlElement.

HtmlHistory

管理当前会话内用户访问过的文档和网站列表。 Manages the list of documents and Web sites the user has visited within the current session.

HtmlWindow

表示包含一个或多个 HtmlDocument 实例的逻辑窗口。 Represents the logical window that contains one or more instances of HtmlDocument.

HtmlWindowCollection

表示包含在另一个 HtmlWindow 内的窗口。 Represents the windows contained within another HtmlWindow.

ImageIndexConverter

提供在图像索引数据与字符串之间实现互相转换的类型转换器。 Provides a type converter to convert data for an image index to and from a string.

ImageKeyConverter

提供在图像键数据与其他数据类型之间实现互相转换的类型转换器。 Provides a type converter to convert data for an image key to and from another data type.

ImageList

提供管理 Image 对象集合的方法。 Provides methods to manage a collection of Image objects. 此类不能被继承。 This class cannot be inherited.

ImageList.ImageCollection

封装 Image 中的 ImageList 对象的集合。 Encapsulates the collection of Image objects in an ImageList.

ImageListStreamer

提供 ImageList 的数据部分。 Provides the data portion of an ImageList.

ImeContext

包含可与 IME API 直接交互的静态方法。 Contains static methods that interact directly with the IME API.

InputLanguage

提供方法和字段以管理输入语言。 Provides methods and fields to manage the input language. 此类不能被继承。 This class cannot be inherited.

InputLanguageChangedEventArgs

InputLanguageChanged 事件提供数据。 Provides data for the InputLanguageChanged event.

InputLanguageChangingEventArgs

InputLanguageChanging 事件提供数据。 Provides data for the InputLanguageChanging event.

InputLanguageCollection

存储 InputLanguage 对象。 Stores InputLanguage objects.

InvalidateEventArgs

Invalidated 事件提供数据。 Provides data for the Invalidated event.

ItemChangedEventArgs

ItemChanged 事件提供数据。 Provides data for the ItemChanged event.

ItemCheckedEventArgs

ItemChecked 控件的 ListView 事件提供数据。 Provides data for the ItemChecked event of the ListView control.

ItemCheckEventArgs

ItemCheckCheckedListBox 控件的 ListView 事件提供数据。 Provides data for the ItemCheck event of the CheckedListBox and ListView controls.

ItemDragEventArgs

ItemDragListView 控件的 TreeView 事件提供数据。 Provides data for the ItemDrag event of the ListView and TreeView controls.

KeyEventArgs

KeyDownKeyUp 事件提供数据。 Provides data for the KeyDown or KeyUp event.

KeyPressEventArgs

KeyPress 事件提供数据。 Provides data for the KeyPress event.

KeysConverter

提供将 TypeConverter 对象与其他表示形式之间相互转换的 Keys Provides a TypeConverter to convert Keys objects to and from other representations.

Label

表示标准 Windows 标签。 Represents a standard Windows label.

LabelEditEventArgs

提供有关 BeforeLabelEditAfterLabelEdit 事件的数据。 Provides data for the BeforeLabelEdit and AfterLabelEdit events.

LayoutEventArgs

Layout 事件提供数据。 Provides data for the Layout event. 此类不能被继承。 This class cannot be inherited.

LayoutSettings

提供基类以收集布局方案特性。 Provides a base class for collecting layout scheme characteristics.

LinkArea.LinkAreaConverter

提供将 LinkArea.LinkAreaConverter 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert LinkArea.LinkAreaConverter objects to and from various other representations.

LinkClickedEventArgs

LinkClicked 事件提供数据。 Provides data for the LinkClicked event.

LinkConverter

提供 LinkLabel.Link 对象的类型转换器。 Provides a type converter for LinkLabel.Link objects.

LinkLabel

表示可显示超链接的 Windows 标签控件。 Represents a Windows label control that can display hyperlinks.

LinkLabel.LinkCollection

表示 LinkLabel 控件内链接的集合。 Represents the collection of links within a LinkLabel control.

LinkLabelLinkClickedEventArgs

LinkClicked 事件提供数据。 Provides data for the LinkClicked event.

ListBindingConverter

提供将 Binding 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert Binding objects to and from various other representations.

ListBindingHelper

提供用于发现可绑定列表的功能,当该列表中包含的项的属性与这些项要绑定到的对象的公共属性不同时,还提供相应的功能用于发现这些项的属性。 Provides functionality to discover a bindable list and the properties of the items contained in the list when they differ from the public properties of the object to which they bind.

ListBox

表示用于显示项列表的 Windows 控件。 Represents a Windows control to display a list of items.

ListBox.IntegerCollection

表示 ListBox 中整数的集合。 Represents a collection of integers in a ListBox.

ListBox.ObjectCollection

表示 ListBox 中项的集合。 Represents the collection of items in a ListBox.

ListBox.SelectedIndexCollection

表示这样的集合,该集合包含 ListBox 中选定项的索引。 Represents the collection containing the indexes to the selected items in a ListBox.

ListBox.SelectedObjectCollection

表示 ListBox 中选定项的集合。 Represents the collection of selected items in the ListBox.

ListControl

ListBox 类和 ComboBox 类提供一个共同的成员实现方法。 Provides a common implementation of members for the ListBox and ComboBox classes.

ListControlConvertEventArgs

Format 事件提供数据。 Provides data for the Format event.

ListView

表示 Windows 列表视图控件,该控件显示可用四种不同视图之一显示的项集合。 Represents a Windows list view control, which displays a collection of items that can be displayed using one of four different views.

ListView.CheckedIndexCollection

表示包含列表视图控件中已选中项的索引的集合。 Represents the collection containing the indexes to the checked items in a list view control.

ListView.CheckedListViewItemCollection

表示在列表视图控件中已选中项的集合。 Represents the collection of checked items in a list view control.

ListView.ColumnHeaderCollection

表示 ListView 控件中列标题的集合。 Represents the collection of column headers in a ListView control.

ListView.ListViewItemCollection

表示 ListView 控件中的项的集合或指定给 ListViewGroup 的项的集合。 Represents the collection of items in a ListView control or assigned to a ListViewGroup.

ListView.SelectedIndexCollection

表示包含 ListView 控件中选定项的索引的集合。 Represents the collection that contains the indexes to the selected items in a ListView control.

ListView.SelectedListViewItemCollection

表示在列表视图控件中选定项的集合。 Represents the collection of selected items in a list view control.

ListViewGroup

表示 ListView 控件中显示的一组项。 Represents a group of items displayed within a ListView control.

ListViewGroupCollection

表示 ListView 控件内的组的集合。 Represents the collection of groups within a ListView control.

ListViewHitTestInfo

包含有关 ListView 控件的区域或 ListViewItem 的信息。 Contains information about an area of a ListView control or a ListViewItem.

ListViewInsertionMark

ListView 控件中将某项拖动到新位置时,用于指示期望的拖放位置。 Used to indicate the expected drop location when an item is dragged to a new position in a ListView control. 此功能仅适用于 Windows XP 和更高版本。 This functionality is available only on Windows XP and later.

ListViewItem

表示 ListView 控件中的一个项。 Represents an item in a ListView control.

ListViewItem.ListViewSubItem

表示 ListViewItem 的子项。 Represents a subitem of a ListViewItem.

ListViewItem.ListViewSubItemCollection

表示 ListViewItem.ListViewSubItem 中储存的 ListViewItem 对象的集合。 Represents a collection of ListViewItem.ListViewSubItem objects stored in a ListViewItem.

ListViewItemConverter

提供将 ListViewItem 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert ListViewItem objects to and from various other representations.

ListViewItemMouseHoverEventArgs

ItemMouseHover 事件提供数据。 Provides data for the ItemMouseHover event.

ListViewItemSelectionChangedEventArgs

ItemSelectionChanged 事件提供数据。 Provides data for the ItemSelectionChanged event.

ListViewVirtualItemsSelectionRangeChangedEventArgs

VirtualItemsSelectionRangeChanged 事件提供数据。 Provides data for the VirtualItemsSelectionRangeChanged event.

MainMenu

表示窗体的菜单结构。 Represents the menu structure of a form. 尽管 MenuStrip 替换了早期版本的 MainMenu 控件并添加了功能;但是也可选择保留 MainMenu 以备向后兼容和将来使用。 Although MenuStrip replaces and adds functionality to the MainMenu control of previous versions, MainMenu is retained for both backward compatibility and future use if you choose.

MaskedTextBox

使用掩码区分正确的和不正确的用户输入。 Uses a mask to distinguish between proper and improper user input.

MaskInputRejectedEventArgs

MaskInputRejected 事件提供数据。 Provides data for the MaskInputRejected event.

MdiClient

表示多文档界面 (MDI) 子窗体容器。 Represents the container for multiple-document interface (MDI) child forms. 此类不能被继承。 This class cannot be inherited.

MdiClient.ControlCollection

包含 MdiClient 控件的集合。 Contains a collection of MdiClient controls.

MeasureItemEventArgs

ListBoxComboBoxCheckedListBoxMenuItem 控件的 MeasureItem 事件提供数据。 Provides data for the MeasureItem event of the ListBox, ComboBox, CheckedListBox, and MenuItem controls.

Menu

表示所有菜单的基本功能。 Represents the base functionality for all menus. 虽然 ToolStripDropDownToolStripDropDownMenu 取代了以前版本的 Menu 控件并向其中添加了功能,但是也可选择保留 Menu 以备向后兼容和供将来使用。 Although ToolStripDropDown and ToolStripDropDownMenu replace and add functionality to the Menu control of previous versions, Menu is retained for both backward compatibility and future use if you choose.

Menu.MenuItemCollection

表示 MenuItem 对象的集合。 Represents a collection of MenuItem objects.

MenuItem

表示在 MainMenuContextMenu 内显示的单个项。 Represents an individual item that is displayed within a MainMenu or ContextMenu. 尽管 ToolStripMenuItem 替换了早期版本的 MenuItem 控件并添加了功能;但是也可选择保留 MenuItem 以备向后兼容和将来使用。 Although ToolStripMenuItem replaces and adds functionality to the MenuItem control of previous versions, MenuItem is retained for both backward compatibility and future use if you choose.

MenuStrip

为窗体提供菜单系统。 Provides a menu system for a form.

MessageBox

显示消息窗口(也称为对话框)向用户展示消息。 Displays a message window, also known as a dialog box, which presents a message to the user. 这是一个模式窗口,可阻止应用程序中的其他操作,直到用户将其关闭。 It is a modal window, blocking other actions in the application until the user closes it. MessageBox 可包含通知并指示用户的文本、按钮和符号。 A MessageBox can contain text, buttons, and symbols that inform and instruct the user.

MonthCalendar

表示一个 Windows 控件,该控件使用户能够使用可视月历显示来选择日期。 Represents a Windows control that enables the user to select a date using a visual monthly calendar display.

MonthCalendar.HitTestInfo

包含有关 MonthCalendar 控件的区域的信息。 Contains information about an area of a MonthCalendar control. 此类不能被继承。 This class cannot be inherited.

MouseEventArgs

MouseUpMouseDownMouseMove 事件提供数据。 Provides data for the MouseUp, MouseDown, and MouseMove events.

NativeWindow

提供窗口句柄和窗口过程的低级封装。 Provides a low-level encapsulation of a window handle and a window procedure.

NavigateEventArgs

Navigate 事件提供数据。 Provides data for the Navigate event.

NodeLabelEditEventArgs

提供有关 BeforeLabelEditAfterLabelEdit 事件的数据。 Provides data for the BeforeLabelEdit and AfterLabelEdit events.

NotifyIcon

指定可在通知区域创建图标的组件。 Specifies a component that creates an icon in the notification area. 此类不能被继承。 This class cannot be inherited.

NumericUpDown

表示显示数值的 Windows 数字显示框(也称作 up-down 控件)。 Represents a Windows spin box (also known as an up-down control) that displays numeric values.

NumericUpDownAcceleration

提供信息,指定当按下上移按钮或下移按钮持续指定的时间后应如何对数字显示框(也称为 up-down 控件)执行加速。 Provides information specifying how acceleration should be performed on a spin box (also known as an up-down control) when the up or down button is pressed for specified time period.

NumericUpDownAccelerationCollection

表示 NumericUpDownAcceleration 控件中的 NumericUpDown 对象的已排序集合。 Represents a sorted collection of NumericUpDownAcceleration objects in the NumericUpDown control.

OpacityConverter

提供类型转换器,用于将不透明度值转换为字符串,或将字符串转换不透明度值。 Provides a type converter to convert opacity values to and from a string.

OpenFileDialog

显示一个标准对话框,提示用户打开文件。 Displays a standard dialog box that prompts the user to open a file. 此类不能被继承。 This class cannot be inherited.

OSFeature

提供操作系统特定功能查询。 Provides operating-system specific feature queries.

OwnerDrawPropertyBag

包含组件偶而才可能需要的属性的值。 Contains values of properties that a component might need only occasionally.

PaddingConverter

提供将 Padding 值与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert Padding values to and from various other representations.

PageSetupDialog

允许用户更改与页面相关的打印设置,包括边距和纸张方向。 Enables users to change page-related print settings, including margins and paper orientation. 此类不能被继承。 This class cannot be inherited.

PaintEventArgs

Paint 事件提供数据。 Provides data for the Paint event.

Panel

用于对控件集合进行分组。 Used to group collections of controls.

PictureBox

表示用于显示图像的 Windows 图片框控件。 Represents a Windows picture box control for displaying an image.

PopupEventArgs

Popup 事件提供数据。 Provides data for the Popup event.

PowerStatus

指示当前的系统电源状态信息。 Indicates current system power status information.

PreviewKeyDownEventArgs

PreviewKeyDown 事件提供数据。 Provides data for the PreviewKeyDown event.

PrintControllerWithStatusDialog

控制如何从 Windows 窗体应用程序中打印文档。 Controls how a document is printed from a Windows Forms application.

PrintDialog

允许用户从 Windows 窗体应用程序中选择一台打印机,并选择文档中要打印的部分。 Lets users select a printer and choose which sections of the document to print from a Windows Forms application.

PrintPreviewControl

表示 Windows 窗体应用程序打印预览的原始预览部分,没有任何对话框或按钮。 Represents the raw preview part of print previewing from a Windows Forms application, without any dialog boxes or buttons. 大多数 PrintPreviewControl 对象都可在 PrintPreviewDialog 对象上找到,但这不是必需的。 Most PrintPreviewControl objects are found on PrintPreviewDialog objects, but they do not have to be.

PrintPreviewDialog

表示包含用于从 Windows 窗体应用程序中进行打印的 PrintPreviewControl 的对话框窗体。 Represents a dialog box form that contains a PrintPreviewControl for printing from a Windows Forms application.

ProfessionalColors

提供 Color 结构,该结构表示 Windows 显示元素的颜色。 Provides Color structures that are colors of a Windows display element. 此类不能被继承。 This class cannot be inherited.

ProfessionalColorTable

提供用于 Microsoft Office 显示元素的颜色。 Provides colors used for Microsoft Office display elements.

ProgressBar

表示 Windows 进度栏控件。 Represents a Windows progress bar control.

ProgressBarRenderer

提供用于以视觉样式呈现进度栏控件的方法。 Provides methods used to render a progress bar control with visual styles. 此类不能被继承。 This class cannot be inherited.

PropertyGrid

提供用于浏览对象属性的用户界面。 Provides a user interface for browsing the properties of an object.

PropertyGrid.PropertyTabCollection

包含 PropertyTab 对象的集合。 Contains a collection of PropertyTab objects.

PropertyManager

维护对象的属性与数据绑定控件属性之间的 Binding Maintains a Binding between an object's property and a data-bound control property.

PropertyTabChangedEventArgs

PropertyGridPropertyTabChanged 事件提供数据。 Provides data for the PropertyTabChanged event of a PropertyGrid.

PropertyValueChangedEventArgs

PropertyGridPropertyValueChanged 事件提供数据。 Provides data for the PropertyValueChanged event of a PropertyGrid.

QueryAccessibilityHelpEventArgs

QueryAccessibilityHelp 事件提供数据。 Provides data for the QueryAccessibilityHelp event.

QueryContinueDragEventArgs

QueryContinueDrag 事件提供数据。 Provides data for the QueryContinueDrag event.

QuestionEventArgs

为需要以 truefalse 回答某个问题的事件提供数据。 Provides data for events that need a true or false answer to a question.

RadioButton

当与其他 RadioButton 控件成对出现时,使用户能够从一组选项中选择一个选项。 Enables the user to select a single option from a group of choices when paired with other RadioButton controls.

RadioButton.RadioButtonAccessibleObject

将有关 RadioButton 控件的信息提供给具有辅助功能的客户端应用程序。 Provides information about the RadioButton control to accessibility client applications.

RadioButtonRenderer

提供用于呈现带/不带视觉样式的选项按钮控件(也称为单选按钮)的方法。 Provides methods used to render an option button control (also known as a radio button) with or without visual styles. 此类不能被继承。 This class cannot be inherited.

RelatedImageListAttribute

指示与属性相关联的 ImageList Indicates which ImageList a property is related to.

RetrieveVirtualItemEventArgs

RetrieveVirtualItem 事件提供数据。 Provides data for the RetrieveVirtualItem event.

RichTextBox

表示 Windows 多格式文本框控件。 Represents a Windows rich text box control.

RowStyle

表示在表布局中行的外观。 Represents the look and feel of a row in a table layout.

SaveFileDialog

提示用户选择文件的保存位置。 Prompts the user to select a location for saving a file. 此类不能被继承。 This class cannot be inherited.

Screen

表示单个系统上的一个或多个显示设备。 Represents a display device or multiple display devices on a single system.

ScrollableControl

为支持自动滚动行为的控件定义一个基类。 Defines a base class for controls that support auto-scrolling behavior.

ScrollableControl.DockPaddingEdges

确定停靠控件的边界边距。 Determines the border padding for docked controls.

ScrollableControl.DockPaddingEdgesConverter

TypeConverter 类的一个 ScrollableControl.DockPaddingEdges A TypeConverter for the ScrollableControl.DockPaddingEdges class.

ScrollBar

实现滚动条控件的基本功能。 Implements the basic functionality of a scroll bar control.

ScrollBarRenderer

提供用于以视觉样式呈现滚动条控件的方法。 Provides methods used to render a scroll bar control with visual styles. 此类不能被继承。 This class cannot be inherited.

ScrollEventArgs

Scroll 事件提供数据。 Provides data for the Scroll event.

ScrollProperties

封装与滚动有关的属性。 Encapsulates properties related to scrolling.

SearchForVirtualItemEventArgs

SearchForVirtualItem 事件提供数据。 Provides data for the SearchForVirtualItem event.

SelectedGridItemChangedEventArgs

SelectedGridItemChanged 控件的 PropertyGrid 事件提供数据。 Provides data for the SelectedGridItemChanged event of the PropertyGrid control.

SelectionRange

表示月历控件中的日期选择范围。 Represents a date selection range in a month calendar control.

SelectionRangeConverter

提供类型转换器,用于在 SelectionRange 对象和其他类型之间进行转换。 Provides a type converter to convert SelectionRange objects to and from various other types.

SendKeys

提供将键击发送到应用程序的方法。 Provides methods for sending keystrokes to an application.

SplitContainer

表示一个由可移动条组成的控件,该可移动条将容器的显示区域分成两个大小可调的面板。 Represents a control consisting of a movable bar that divides a container's display area into two resizable panels.

Splitter

表示允许用户调整停靠控件大小的拆分器控件。 Represents a splitter control that enables the user to resize docked controls. Splitter 已被 SplitContainer 取代,且仅为与早期版本兼容而提供。 Splitter has been replaced by SplitContainer and is provided only for compatibility with previous versions.

SplitterCancelEventArgs

为拆分器事件提供数据。 Provides data for splitter events.

SplitterEventArgs

SplitterMovingSplitterMoved 事件提供数据。 Provides data for SplitterMoving and the SplitterMoved events.

SplitterPanel

创建与 SplitContainer 相关联的面板。 Creates a panel that is associated with a SplitContainer.

StatusBar

表示 Windows 状态栏控件。 Represents a Windows status bar control. 尽管 ToolStripStatusLabel 替换了早期版本的 StatusBar 控件并添加了功能;但是也可选择保留 StatusBar 以备向后兼容和将来使用。 Although ToolStripStatusLabel replaces and adds functionality to the StatusBar control of previous versions, StatusBar is retained for both backward compatibility and future use if you choose.

StatusBar.StatusBarPanelCollection

表示 StatusBar 控件中的面板集合。 Represents the collection of panels in a StatusBar control.

StatusBarDrawItemEventArgs

DrawItem 事件提供数据。 Provides data for the DrawItem event.

StatusBarPanel

表示 StatusBar 控件中的一个面板。 Represents a panel in a StatusBar control. 虽然 StatusStrip 控件对以前版本的 StatusBar 控件的功能进行替换和添加,但是考虑到向后兼容性和将来的使用(如果您选择),仍然保留了 StatusBar Although the StatusStrip control replaces and adds functionality to the StatusBar control of previous versions, StatusBar is retained for both backward compatibility and future use if you choose.

StatusBarPanelClickEventArgs

PanelClick 事件提供数据。 Provides data for the PanelClick event.

StatusStrip

表示 Windows 状态栏控件。 Represents a Windows status bar control.

SystemInformation

提供当前系统环境的有关信息。 Provides information about the current system environment.

TabControl

管理相关的选项卡页集。 Manages a related set of tab pages.

TabControl.ControlCollection

包含 Control 对象的集合。 Contains a collection of Control objects.

TabControl.TabPageCollection

包含 TabPage 对象的集合。 Contains a collection of TabPage objects.

TabControlCancelEventArgs

Selecting 控件的 DeselectingTabControl 事件提供数据。 Provides data for the Selecting and Deselecting events of a TabControl control.

TabControlEventArgs

Selected 控件的 DeselectedTabControl 事件提供数据。 Provides data for the Selected and Deselected events of a TabControl control.

TableLayoutCellPaintEventArgs

CellPaint 事件提供数据。 Provides data for the CellPaint event.

TableLayoutColumnStyleCollection

一个存储 ColumnStyle 对象的集合。 A collection that stores ColumnStyle objects.

TableLayoutControlCollection

表示表布局容器中的子控件集合。 Represents a collection of child controls in a table layout container.

TableLayoutPanel

表示一个面板,它可以在一个由行和列组成的网格中对其内容进行动态布局。 Represents a panel that dynamically lays out its contents in a grid composed of rows and columns.

TableLayoutRowStyleCollection

一个存储 RowStyle 对象的集合。 A collection that stores RowStyle objects.

TableLayoutSettings

收集与表布局关联的特性。 Collects the characteristics associated with table layouts.

TableLayoutStyle

实现表示表布局的外观和行为的基本功能。 Implements the basic functionality that represents the appearance and behavior of a table layout.

TableLayoutStyleCollection

实现表布局样式集合的基本功能。 Implements the basic functionality for a collection of table layout styles.

TabPage

表示 TabControl 中的单个选项卡页。 Represents a single tab page in a TabControl.

TabPage.TabPageControlCollection

包含 TabPage 使用的控件集合。 Contains the collection of controls that the TabPage uses.

TabRenderer

提供用于呈现具有视觉样式的选项卡控件的方法。 Provides methods used to render a tab control with visual styles. 此类不能被继承。 This class cannot be inherited.

TextBox

表示 Windows 文本框控件。 Represents a Windows text box control.

TextBoxBase

实现文本控件要求的基本功能。 Implements the basic functionality required by text controls.

TextBoxRenderer

提供用于呈现具有视觉样式的文本框控件的方法。 Provides methods used to render a text box control with visual styles. 此类不能被继承。 This class cannot be inherited.

TextRenderer

提供用于测量和呈现文本的方法。 Provides methods used to measure and render text. 此类不能被继承。 This class cannot be inherited.

ThreadExceptionDialog

实现一个对话框,线程中发生未经处理的异常时即会显示该对话框。 Implements a dialog box that is displayed when an unhandled exception occurs in a thread.

Timer

实现按用户定义的时间间隔引发事件的计时器。 Implements a timer that raises an event at user-defined intervals. 此计时器最宜用于 Windows 窗体应用程序中,并且必须在窗口中使用。 This timer is optimized for use in Windows Forms applications and must be used in a window.

ToolBar

表示一个 Windows 工具栏。 Represents a Windows toolbar. 尽管 ToolStrip 替换了早期版本的 ToolBar 控件并添加了功能;但是也可选择保留 ToolBar 以备向后兼容和将来使用。 Although ToolStrip replaces and adds functionality to the ToolBar control of previous versions, ToolBar is retained for both backward compatibility and future use if you choose.

ToolBar.ToolBarButtonCollection

封装一个 ToolBarButton 控件的集合,供 ToolBar 类使用。 Encapsulates a collection of ToolBarButton controls for use by the ToolBar class.

ToolBarButton

表示一个 Windows 工具栏按钮。 Represents a Windows toolbar button. 尽管 ToolStripButton 替换并扩展了早期版本的 ToolBarButton 控件,但也可以选择保留 ToolBarButton 以备向后兼容性和将来使用。 Although ToolStripButton replaces and extends the ToolBarButton control of previous versions, ToolBarButton is retained for both backward compatibility and future use if you choose.

ToolBarButtonClickEventArgs

ButtonClick 事件提供数据。 Provides data for the ButtonClick event.

ToolStrip

为 Windows 工具栏对象提供容器。 Provides a container for Windows toolbar objects.

ToolStrip.ToolStripAccessibleObject

提供的信息可由辅助功能应用程序用来为残障用户调整 ToolStrip 的用户界面。 Provides information that accessibility applications use to adjust the user interface of a ToolStrip for users with impairments.

ToolStripArrowRenderEventArgs

RenderArrow 事件提供数据。 Provides data for the RenderArrow event.

ToolStripButton

表示包含文本和图像的可选的 ToolStripItem Represents a selectable ToolStripItem that can contain text and images.

ToolStripComboBox

表示正确呈现在 ToolStripComboBox 中的 ToolStrip Represents a ToolStripComboBox that is properly rendered in a ToolStrip.

ToolStripContainer

在窗体的每一侧提供面板,并提供可以容纳一个或多个控件的中间面板。 Provides panels on each side of the form and a central panel that can hold one or more controls.

ToolStripContentPanel

表示 ToolStripContainer 控件的中间面板。 Represents the center panel of a ToolStripContainer control.

ToolStripContentPanelRenderEventArgs

RendererChanged 事件提供数据。 Provides data for the RendererChanged event.

ToolStripControlHost

承载自定义控件或 Windows 窗体控件。 Hosts custom controls or Windows Forms controls.

ToolStripDropDown

表示当用户单击 ToolStripDropDownButton 时,使用户可以从列表中选择单个项的控件。 Represents a control that allows the user to select a single item from a list that is displayed when the user clicks a ToolStripDropDownButton. 虽然 ToolStripDropDownMenuToolStripDropDown 取代了以前版本的 Menu 控件并向其中添加了功能,但是也可选择保留 Menu 以备向后兼容和供将来使用。 Although ToolStripDropDownMenu and ToolStripDropDown replace and add functionality to the Menu control of previous versions, Menu is retained for both backward compatibility and future use if you choose.

ToolStripDropDown.ToolStripDropDownAccessibleObject

ToolStripDropDown 控件的相关信息提供给具有辅助功能的客户端应用程序。 Provides information about the ToolStripDropDown control to accessibility client applications.

ToolStripDropDownButton

表示单击时显示关联的 ToolStripDropDown 的控件,用户可从该下拉控件中选择一项。 Represents a control that when clicked displays an associated ToolStripDropDown from which the user can select a single item.

ToolStripDropDownClosedEventArgs

Closed 事件提供数据。 Provides data for the Closed event.

ToolStripDropDownClosingEventArgs

Closing 事件提供数据。 Provides data for the Closing event.

ToolStripDropDownItem

提供当单击 ToolStripDropDownToolStripDropDownButtonToolStripMenuItem 控件时,显示 ToolStripSplitButton 的控件的基本功能。 Provides basic functionality for controls that display a ToolStripDropDown when a ToolStripDropDownButton, ToolStripMenuItem, or ToolStripSplitButton control is clicked.

ToolStripDropDownItemAccessibleObject

提供的信息可由辅助功能应用程序用来为残障用户调整 ToolStripDropDown 的用户界面。 Provides information that accessibility applications use to adjust the user interface of a ToolStripDropDown for users with impairments.

ToolStripDropDownMenu

提供 ContextMenuStrip 控件的基本功能。 Provides basic functionality for the ContextMenuStrip control. 虽然 ToolStripDropDownMenuToolStripDropDown 取代了以前版本的 Menu 控件并向其中添加了功能,但是也可选择保留 Menu 以备向后兼容和供将来使用。 Although ToolStripDropDownMenu and ToolStripDropDown replace and add functionality to the Menu control of previous versions, Menu is retained for both backward compatibility and future use if you choose.

ToolStripGripRenderEventArgs

RenderGrip 事件提供数据。 Provides data for the RenderGrip event.

ToolStripItem

表示对 ToolStripToolStripDropDown 可以包含的所有元素的事件和布局进行管理的抽象基类。 Represents the abstract base class that manages events and layout for all the elements that a ToolStrip or ToolStripDropDown can contain.

ToolStripItem.ToolStripItemAccessibleObject

提供的信息可由辅助功能应用程序用来为残障用户调整 ToolStripItem 的用户界面。 Provides information that accessibility applications use to adjust the user interface of a ToolStripItem for users with impairments.

ToolStripItemClickedEventArgs

ItemClicked 事件提供数据。 Provides data for the ItemClicked event.

ToolStripItemCollection

表示 ToolStripItem 对象集合。 Represents a collection of ToolStripItem objects.

ToolStripItemEventArgs

ToolStripItem 事件提供数据。 Provides data for ToolStripItem events.

ToolStripItemImageRenderEventArgs

RenderItemImage 事件提供数据。 Provides data for the RenderItemImage event.

ToolStripItemRenderEventArgs

为事件提供数据,这些事件在 ToolStripItem 类中呈现派生自 ToolStripRenderer 的对象的背景。 Provides data for the events that render the background of objects derived from ToolStripItem in the ToolStripRenderer class.

ToolStripItemTextRenderEventArgs

RenderItemText 事件提供数据。 Provides data for the RenderItemText event.

ToolStripLabel

表示不可选的 ToolStripItem,它呈现文本和图像并且可以显示超链接。 Represents a nonselectable ToolStripItem that renders text and images and can display hyperlinks.

ToolStripManager

控制 ToolStrip 的呈现和漂浮,以及 MenuStripToolStripDropDownMenuToolStripMenuItem 对象的合并。 Controls ToolStrip rendering and rafting, and the merging of MenuStrip, ToolStripDropDownMenu, and ToolStripMenuItem objects. 此类不能被继承。 This class cannot be inherited.

ToolStripMenuItem

表示 MenuStripContextMenuStrip 上显示的可选选项。 Represents a selectable option displayed on a MenuStrip or ContextMenuStrip. 尽管 ToolStripMenuItem 替换了早期版本的 MenuItem 控件并添加了功能;但是也可选择保留 MenuItem 以备向后兼容和将来使用。 Although ToolStripMenuItem replaces and adds functionality to the MenuItem control of previous versions, MenuItem is retained for both backward compatibility and future use if you choose.

ToolStripOverflow

托管 ToolStrip 的溢出行为。 Manages the overflow behavior of a ToolStrip.

ToolStripOverflowButton

承载用于显示溢出 ToolStripDropDown 的项的 ToolStrip Hosts a ToolStripDropDown that displays items that overflow the ToolStrip.

ToolStripPanel

创建一个容器,其他控件可以在其中共享水平或垂直空间。 Creates a container within which other controls can share horizontal or vertical space.

ToolStripPanel.ToolStripPanelRowCollection

表示 ToolStripPanelRow 中的所有 ToolStripPanel 对象。 Represents all the ToolStripPanelRow objects in a ToolStripPanel.

ToolStripPanelRenderEventArgs

ToolStripPanel 绘制提供数据。 Provides data for ToolStripPanel drawing.

ToolStripPanelRow

表示 ToolStripPanel 的行,该行能够包含控件。 Represents a row of a ToolStripPanel that can contain controls.

ToolStripProfessionalRenderer

通过应用自定义的调色板和简化的样式处理 ToolStrip 对象的绘制功能。 Handles the painting functionality for ToolStrip objects, applying a custom palette and a streamlined style.

ToolStripProgressBar

表示 StatusStrip 中包含的 Windows 进度栏控件。 Represents a Windows progress bar control contained in a StatusStrip.

ToolStripRenderer

处理 ToolStrip 对象的绘制功能。 Handles the painting functionality for ToolStrip objects.

ToolStripRenderEventArgs

OnRenderImageMargin(ToolStripRenderEventArgs)OnRenderToolStripBorder(ToolStripRenderEventArgs)OnRenderToolStripBackground(ToolStripRenderEventArgs) 方法提供数据。 Provides data for the OnRenderImageMargin(ToolStripRenderEventArgs), OnRenderToolStripBorder(ToolStripRenderEventArgs), and OnRenderToolStripBackground(ToolStripRenderEventArgs) methods.

ToolStripSeparator

表示直线,用于对 ToolStrip 的项或者 MenuStripContextMenuStrip 或其他 ToolStripDropDown 控件的下拉项进行分组。 Represents a line used to group items of a ToolStrip or the drop-down items of a MenuStrip or ContextMenuStrip or other ToolStripDropDown control.

ToolStripSeparatorRenderEventArgs

RenderGrip 事件提供数据。 Provides data for the RenderGrip event.

ToolStripSplitButton

表示左侧标准按钮和右侧下拉按钮的组合,如果 RightToLeft 的值为 Yes,则这两个按钮位置互换。 Represents a combination of a standard button on the left and a drop-down button on the right, or the other way around if the value of RightToLeft is Yes.

ToolStripSplitButton.ToolStripSplitButtonAccessibleObject

提供的信息可由辅助功能应用程序用来为残障用户调整 ToolStripSplitButton 的用户界面。 Provides information that accessibility applications use to adjust the user interface of a ToolStripSplitButton for users with impairments.

ToolStripStatusLabel

表示 StatusStrip 控件中的一个面板。 Represents a panel in a StatusStrip control.

ToolStripSystemRenderer

使用系统颜色和平面视觉样式处理 ToolStrip 对象的绘制功能。 Handles the painting functionality for ToolStrip objects, using system colors and a flat visual style.

ToolStripTextBox

表示 ToolStrip 中的文本框,用户可以在此输入文本。 Represents a text box in a ToolStrip that allows the user to enter text.

ToolTip

表示一个长方形的小弹出窗口,该窗口在用户将指针悬停在一个控件上时显示有关该控件用途的简短说明。 Represents a small rectangular pop-up window that displays a brief description of a control's purpose when the user rests the pointer on the control.

TrackBar

表示一个标准的 Windows 跟踪条。 Represents a standard Windows track bar.

TrackBarRenderer

提供用于以视觉样式呈现跟踪条控件的方法。 Provides methods used to render a track bar control with visual styles. 此类不能被继承。 This class cannot be inherited.

TreeNode

表示 TreeView 的节点。 Represents a node of a TreeView.

TreeNodeCollection

表示 TreeNode 对象集合。 Represents a collection of TreeNode objects.

TreeNodeConverter

提供将 TreeNode 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert TreeNode objects to and from various other representations.

TreeNodeMouseClickEventArgs

提供有关 NodeMouseClickNodeMouseDoubleClick 事件的数据。 Provides data for the NodeMouseClick and NodeMouseDoubleClick events.

TreeNodeMouseHoverEventArgs

NodeMouseHover 事件提供数据。 Provides data for the NodeMouseHover event.

TreeView

显示标记项的分层集合,每个标记项用一个 TreeNode 来表示。 Displays a hierarchical collection of labeled items, each represented by a TreeNode.

TreeViewCancelEventArgs

BeforeCheck 控件的 BeforeCollapseBeforeExpandBeforeSelectTreeView 事件提供数据。 Provides data for the BeforeCheck, BeforeCollapse, BeforeExpand, and BeforeSelect events of a TreeView control.

TreeViewEventArgs

AfterCheck 控件的以下事件提供数据:AfterCollapseAfterExpandAfterSelectTreeView Provides data for the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect events of a TreeView control.

TreeViewHitTestInfo

包含有关 TreeView 控件的区域或 TreeNode 的信息。 Contains information about an area of a TreeView control or a TreeNode.

TreeViewImageIndexConverter

提供一种类型转换器,用于将图像索引的数据在不同的数据类型之间转换,以供 TreeView 控件使用。 Provides a type converter to convert data for an image index to and from one data type to another for use by the TreeView control.

TreeViewImageKeyConverter

提供在图像键数据与其他数据类型之间实现互相转换的类型转换器。 Provides a type converter to convert data for an image key to and from another data type.

TypeValidationEventArgs

TypeValidationCompleted 事件提供数据。 Provides data for the TypeValidationCompleted event.

UICuesEventArgs

ChangeUICues 事件提供数据。 Provides data for the ChangeUICues event.

UpDownBase

实现数字显示框(也称为 up-down 控件)所需的基本功能。 Implements the basic functionality required by a spin box (also known as an up-down control).

UpDownEventArgs

为从 UpDownBase 控件派生的控件提供数据。 Provides data for controls that derive from the UpDownBase control.

UserControl

提供一个可用来创建其他控件的空控件。 Provides an empty control that can be used to create other controls.

VScrollBar

表示标准的 Windows 垂直滚动条。 Represents a standard Windows vertical scroll bar.

VScrollProperties

提供 VScrollBar 类的基本属性。 Provides basic properties for the VScrollBar class.

WebBrowser

使用户能够在你的窗体中导航网页。 Enables the user to navigate Web pages inside your form.

WebBrowser.WebBrowserSite

表示 WebBrowser 控件的宿主窗口。 Represents the host window of a WebBrowser control.

WebBrowserBase

为泛型 ActiveX 控件提供包装以便由 WebBrowser 控件用作基类。 Provides a wrapper for a generic ActiveX control for use as a base class by the WebBrowser control.

WebBrowserDocumentCompletedEventArgs

DocumentCompleted 事件提供数据。 Provides data for the DocumentCompleted event.

WebBrowserNavigatedEventArgs

Navigated 事件提供数据。 Provides data for the Navigated event.

WebBrowserNavigatingEventArgs

Navigating 事件提供数据。 Provides data for the Navigating event.

WebBrowserProgressChangedEventArgs

ProgressChanged 事件提供数据。 Provides data for the ProgressChanged event.

WebBrowserSiteBase

实现由 WebBrowser.WebBrowserSite 类用作基类的 ActiveX 站点的接口。 Implements the interfaces of an ActiveX site for use as a base class by the WebBrowser.WebBrowserSite class.

WindowsFormsSection

定义一个新的 ConfigurationSection,用于分析应用程序设置。 Defines a new ConfigurationSection for parsing application settings. 此类不能被继承。 This class cannot be inherited.

WindowsFormsSynchronizationContext

提供 Windows 窗体应用程序模型的同步上下文。 Provides a synchronization context for the Windows Forms application model.

结构

BindingMemberInfo

包含信息,使 Binding 可以将数据绑定解析为某对象的属性或对象列表中当前对象的属性。 Contains information that enables a Binding to resolve a data binding to either the property of an object or the property of the current object in a list of objects.

DataGridCell

标识网格中的单元格。 Identifies a cell in the grid.

ImeModeConversion

提供有关 IME 转换模式的信息的帮助器类。 Helper class that provides information about the IME conversion mode.

LinkArea

表示 LinkLabel 控件内的区域,该区域表示控件内的超链接。 Represents an area within a LinkLabel control that represents a hyperlink within the control.

Message

实现 Windows 消息。 Implements a Windows message.

Padding

表示与用户界面 (UI) 元素关联的空白或边距信息。 Represents padding or margin information associated with a user interface (UI) element.

TableLayoutPanelCellPosition

表示 TableLayoutPanel 中的单元格。 Represents a cell in a TableLayoutPanel.

界面

IBindableComponent

使非控件组件可以模拟 Windows 窗体控件的数据绑定行为。 Enables a non-control component to emulate the data-binding behavior of a Windows Forms control.

IButtonControl

允许控件用作窗体上的按钮。 Allows a control to act like a button on a form.

ICommandExecutor

定义在实现此接口的类型上执行某个操作的方法。 Defines a method that executes a certain action on the type that implements this interface.

IComponentEditorPageSite

ComponentEditorPage 的站点。 The site for a ComponentEditorPage.

IContainerControl

为某控件提供功能,使其用作其他控件的父级。 Provides the functionality for a control to act as a parent for other controls.

ICurrencyManagerProvider

为组件提供自定义的绑定管理。 Provides custom binding management for components.

IDataGridColumnStyleEditingNotificationService

提供编辑通知接口。 Provides an editing notification interface.

IDataGridEditingService

表示用于处理编辑请求的方法。 Represents methods that process editing requests.

IDataGridViewEditingCell

为允许操作它的值的单元格定义常用功能。 Defines common functionality for a cell that allows the manipulation of its value.

IDataGridViewEditingControl

定义承载在 DataGridView 的单元格内的控件的常见功能。 Defines common functionality for controls that are hosted within cells of a DataGridView.

IDataObject

为传送数据提供与格式无关的机制。 Provides a format-independent mechanism for transferring data.

IDropTarget

定义鼠标事件。 Defines mouse events.

IFeatureSupport

指定一个标准接口,用于从当前系统检索功能信息。 Specifies a standard interface for retrieving feature information from the current system.

IFileReaderService

定义从当前目录打开文件的方法。 Defines a method that opens a file from the current directory.

IMessageFilter

定义消息筛选器接口。 Defines a message filter interface.

IWin32Window

提供一个用于公开 Win32 HWND 句柄的接口。 Provides an interface to expose Win32 HWND handles.

IWindowTarget

定义控件和 Win32 API 之间的通信层。 Defines the communication layer between a control and the Win32 API.

枚举

AccessibleEvents

指定由辅助性应用程序报告的事件。 Specifies events that are reported by accessible applications.

AccessibleNavigation

指定用于在辅助性对象之间进行定位的值。 Specifies values for navigating among accessible objects.

AccessibleRole

指定表示辅助性对象的可能角色的值。 Specifies values representing possible roles for an accessible object.

AccessibleSelection

指定选择辅助性对象的方式或该对象接收焦点的方式。 Specifies how an accessible object is selected or receives focus.

AccessibleStates

指定表示辅助性对象的可能状态的值。 Specifies values representing possible states for an accessible object.

AnchorStyles

指定控件如何锚定到其容器的边缘。 Specifies how a control anchors to the edges of its container.

Appearance

指定控件的外观。 Specifies the appearance of a control.

ArrangeDirection

指定系统排列最小化窗口的方向。 Specifies the direction in which the system arranges minimized windows.

ArrangeStartingPosition

指定系统用于排列最小化窗口的起始位置。 Specifies the starting position that the system uses to arrange minimized windows.

ArrowDirection

指定当使用 GetNextItem(ToolStripItem, ArrowDirection) 方法获取项时的移动方向。 Specifies the direction to move when getting items with the GetNextItem(ToolStripItem, ArrowDirection) method.

AutoCompleteMode

指定在 ComboBoxTextBox 控件中使用的自动完成功能的模式。 Specifies the mode for the automatic completion feature used in the ComboBox and TextBox controls.

AutoCompleteSource

指定 ComboBoxTextBox 自动完成功能的源。 Specifies the source for ComboBox and TextBox automatic completion functionality.

AutoScaleMode

指定 Windows 窗体支持的不同类型的自动缩放模式。 Specifies the different types of automatic scaling modes supported by Windows Forms.

AutoSizeMode

指定启用控件的 AutoSize 属性时该控件的行为。 Specifies how a control will behave when its AutoSize property is enabled.

AutoValidate

确定控件在失去用户输入焦点时应如何验证其数据。 Determines how a control validates its data when it loses user input focus.

AxHost.ActiveXInvokeKind

指定对处于无效状态的 ActiveX 控件进行引用的成员类型。 Specifies the type of member that referenced the ActiveX control while it was in an invalid state.

BatteryChargeStatus

定义指示当前电池能量级别或充电状态信息的标识符。 Defines identifiers that indicate the current battery charge level or charging state information.

BindingCompleteContext

指定绑定操作的方向。 Specifies the direction of the binding operation.

BindingCompleteState

指示已完成的绑定操作的结果。 Indicates the result of a completed binding operation.

BootMode

指定系统启动时应采用的启动模式。 Specifies the boot mode in which the system was started.

Border3DSide

指定要应用三维边框的矩形的边。 Specifies the sides of a rectangle to apply a three-dimensional border to.

Border3DStyle

指定三维边框的样式。 Specifies the style of a three-dimensional border.

BorderStyle

指定控件的边框样式。 Specifies the border style for a control.

BoundsSpecified

指定在定义控件的大小和位置时要使用的控件边界。 Specifies the bounds of the control to use when defining a control's size and position.

ButtonBorderStyle

指定按钮控件的边框样式。 Specifies the border style for a button control.

ButtonState

指定按钮的外观。 Specifies the appearance of a button.

CaptionButton

指定要显示的标题按钮的类型。 Specifies the type of caption button to display.

CharacterCasing

指定 TextBox 控件中字符的大小写。 Specifies the case of characters in a TextBox control.

CheckState

指定一个控件的状态,例如复选框可以是选中、未选中或设置为不确定状态。 Specifies the state of a control, such as a check box, that can be checked, unchecked, or set to an indeterminate state.

CloseReason

指定窗体关闭的原因。 Specifies the reason that a form was closed.

ColorDepth

指定用于显示 ImageList 控件中的图像的颜色数。 Specifies the number of colors used to display an image in an ImageList control.

ColumnHeaderAutoResizeStyle

指定应该如何调整 ListView 中包含的列的大小。 Specifies how a column contained in a ListView should be resized.

ColumnHeaderStyle

指定 ListView 控件中列标头的样式。 Specifies the styles of the column headers in a ListView control.

ComboBoxStyle

指定 ComboBox 样式。 Specifies the ComboBox style.

ControlStyles

指定控件的样式和行为。 Specifies the style and behavior of a control.

ControlUpdateMode

确定对数据源值所做的更改何时传播到相应的数据绑定控件属性。 Determines when changes to a data source value get propagated to the corresponding data-bound control property.

DataGrid.HitTestType

指定 DataGrid 控件中用户单击的部分。 Specifies the part of the DataGrid control the user has clicked.

DataGridLineStyle

指定 DataGrid 中的网格线样式。 Specifies the style of gridlines in a DataGrid.

DataGridParentRowsLabelStyle

指定 DataGrid 控件的父行标签的显示方式。 Specifies how the parent row labels of a DataGrid control are displayed.

DataGridViewAdvancedCellBorderStyle

指定可以应用于 DataGridView 控件的单元格的边框样式。 Specifies the border styles that can be applied to the cells of a DataGridView control.

DataGridViewAutoSizeColumnMode

定义用于指定如何调整列宽的值。 Defines values for specifying how the width of a column is adjusted.

DataGridViewAutoSizeColumnsMode

定义用于指定如何调整列宽的值。 Defines values for specifying how the widths of columns are adjusted.

DataGridViewAutoSizeRowMode

定义一些值,用于指定如何调整行的高度。 Defines values for specifying how the height of a row is adjusted.

DataGridViewAutoSizeRowsMode

定义指定如何调整行高的值。 Defines values for specifying how the heights of rows are adjusted.

DataGridViewCellBorderStyle

指定可以应用于 DataGridView 控件的单元格的边框样式。 Specifies the border styles that can be applied to the cells of a DataGridView control.

DataGridViewCellStyleScopes

指定拥有发生更改的单元格样式的 DataGridView 实体。 Specifies the DataGridView entity that owns the cell style that was changed.

DataGridViewClipboardCopyMode

定义常数,指示是否将内容从 DataGridView 控件复制到剪贴板。 Defines constants that indicate whether content is copied from a DataGridView control to the Clipboard.

DataGridViewColumnHeadersHeightSizeMode

定义用于指定如何调整列标题高度的值。 Defines values for specifying how the height of the column headers is adjusted.

DataGridViewColumnSortMode

定义用户可以用何种方式对 DataGridView 列进行排序。 Defines how a DataGridView column can be sorted by the user.

DataGridViewComboBoxDisplayStyle

定义指示 DataGridViewComboBoxCell 显示方式的常数。 Defines constants that indicate how a DataGridViewComboBoxCell is displayed.

DataGridViewContentAlignment

定义常数,该常数指示 DataGridView 单元格中内容的对齐方式。 Defines constants that indicate the alignment of content within a DataGridView cell.

DataGridViewDataErrorContexts

表示进行了数据绑定的 DataGridView 控件在发生数据错误时的状态。 Represents the state of a data-bound DataGridView control when a data error occurred.

DataGridViewEditMode

指定用户如何在 DataGridView 控件中启动单元格编辑。 Specifies how a user starts cell editing in the DataGridView control.

DataGridViewElementStates

指定 DataGridView 控件内某元素的用户界面 (UI) 状态。 Specifies the user interface (UI) state of a element within a DataGridView control.

DataGridViewHeaderBorderStyle

指定可以应用于 ColumnHeadersBorderStyle 控件的 RowHeadersBorderStyleDataGridView 属性的边框样式。 Specifies the border style that can be applied to the ColumnHeadersBorderStyle and RowHeadersBorderStyle properties of a DataGridView control.

DataGridViewHitTestType

DataGridView 控件中指定一个位置。 Specifies a location in a DataGridView control.

DataGridViewImageCellLayout

DataGridViewCell 中包含的图像指定布局。 Specifies the layout for an image contained in a DataGridViewCell.

DataGridViewPaintParts

定义用于指定要绘制的 DataGridViewCell 部分的值。 Defines values for specifying the parts of a DataGridViewCell that are to be painted.

DataGridViewRowHeadersWidthSizeMode

为指定如何调整行标头宽度定义值。 Defines values for specifying how the row header width is adjusted.

DataGridViewSelectionMode

描述可以如何选定 DataGridView 控件的单元格。 Describes how cells of a DataGridView control can be selected.

DataGridViewTriState

定义用于指定三种可能状态之一的值。 Defines values for specifying one of three possible states.

DataSourceUpdateMode

指定绑定控件中发生更改后更新数据源的时间。 Specifies when a data source is updated when changes occur in the bound control.

DateTimePickerFormat

指定 DateTimePicker 控件显示的日期和时间格式。 Specifies the date and time format the DateTimePicker control displays.

Day

指定一周中的某天。 Specifies the day of the week.

DialogResult

指定标识符以指示对话框的返回值。 Specifies identifiers to indicate the return value of a dialog box.

DockingBehavior

指定默认情况下通过设计器添加控件时应如何停靠此控件。 Specifies how a control should be docked by default when added through a designer.

DockStyle

指定控件停靠的位置和方式。 Specifies the position and manner in which a control is docked.

DragAction

指定拖放操作应如何继续以及是否应继续。 Specifies how and if a drag-and-drop operation should continue.

DragDropEffects

指定拖放操作的可能效果。 Specifies the possible effects of a drag-and-drop operation.

DrawItemState

指定正在绘制的项的状态。 Specifies the state of an item that is being drawn.

DrawMode

指定如何绘制控件的元素。 Specifies how the elements of a control are drawn.

ErrorBlinkStyle

指定常数来指示 ErrorProvider 所提供的错误图标应在何时闪烁以提醒用户有错误发生。 Specifies constants indicating when the error icon, supplied by an ErrorProvider, should blink to alert the user that an error has occurred.

ErrorIconAlignment

指定常数来指示显示的错误图标相对于有错误的控件的位置。 Specifies constants indicating the locations that an error icon can appear in relation to the control with an error.

FixedPanel

指定 Panel1Panel2 是固定的,或者两个面板都不是固定的。 Specifies that Panel1, Panel2, or neither panel is fixed.

FlatStyle

指定控件的外观。 Specifies the appearance of a control.

FlowDirection

定义指定方向的常量,连续的用户界面 (UI) 元素将按照该方向放入线性布局容器中 Defines constants that specify the direction in which consecutive user interface (UI) elements are placed in a linear layout container

FormBorderStyle

指定窗体的边框样式。 Specifies the border styles for a form.

FormStartPosition

指定窗体的初始位置。 Specifies the initial position of a form.

FormWindowState

指定窗体窗口如何显示。 Specifies how a form window is displayed.

FrameStyle

指定选定控件的框架样式。 Specifies the frame style of the selected control.

GetChildAtPointSkip

指定要跳过的子控件。 Specifies which child controls to skip.

GridItemType

PropertyGrid 指定有效的网格项类型。 Specifies the valid grid item types for a PropertyGrid.

HelpNavigator

指定常数来指示要显示的帮助文件元素。 Specifies constants indicating which elements of the Help file to display.

HorizontalAlignment

指定控件中的对象或文本如何相对于控件元素水平对齐。 Specifies how an object or text in a control is horizontally aligned relative to an element of the control.

HtmlElementInsertionOrientation

定义一些值,这些值描述在使用 InsertAdjacentElement(HtmlElementInsertionOrientation, HtmlElement) 时要插入新元素的位置。 Defines values that describe where to insert a new element when using InsertAdjacentElement(HtmlElementInsertionOrientation, HtmlElement).

ImageLayout

指定控件上图像的位置。 Specifies the position of the image on the control.

ImeMode

指定一个值,该值是用来确定在选定了对象时该对象的输入法编辑器 (IME) 的状态。 Specifies a value that determines the Input Method Editor (IME) status of an object when the object is selected.

InsertKeyMode

表示由文本框使用的插入模式。 Represents the insertion mode used by text boxes.

ItemActivation

指定激活列表视图控件中的项所需的用户操作,以及在用户将鼠标指针移动到项上时提供的反馈。 Specifies the user action that is required to activate items in a list view control and the feedback that is given as the user moves the mouse pointer over an item.

ItemBoundsPortion

指定从中检索边框的列表视图项的一部分。 Specifies a portion of the list view item from which to retrieve the bounding rectangle.

Keys

指定键代码和修饰符。 Specifies key codes and modifiers.

LeftRightAlignment

指定对象或文本与参考点左对齐还是右对齐。 Specifies whether an object or text is aligned to the left or right of a reference point.

LinkBehavior

指定 LinkLabel 中的链接的行为。 Specifies the behaviors of a link in a LinkLabel.

LinkState

指定用来定义链接状态的常数。 Specifies constants that define the state of the link.

ListViewAlignment

指定项在 ListView 中的对齐方式。 Specifies how items align in the ListView.

ListViewHitTestLocations

定义表示 ListViewListViewItem 中的区域的常数。 Defines constants that represent areas in a ListView or ListViewItem.

ListViewItemStates

定义表示 ListViewItem 的可能状态的常数。 Defines constants that represent the possible states of a ListViewItem.

MaskFormat

定义如何格式化 MaskedTextBox 中的文本。 Defines how to format the text inside of a MaskedTextBox.

MdiLayout

指定 MDI 父窗口中多文档界面 (MDI) 子窗口的布局。 Specifies the layout of multiple document interface (MDI) child windows in an MDI parent window.

MenuGlyph

指定使用 DrawMenuGlyph(Graphics, Rectangle, MenuGlyph) 方法绘制菜单时要绘制的图像。 Specifies the image to draw when drawing a menu with the DrawMenuGlyph(Graphics, Rectangle, MenuGlyph) method.

MenuMerge

指定 MenuItem 与另一个菜单中的项进行合并时的行为。 Specifies the behavior of a MenuItem when it is merged with items in another menu.

MergeAction

指定在组合 ToolStrip 上的菜单项时如果找到匹配项将采用何种操作。 Specifies the kind of action to take if a match is found when combining menu items on a ToolStrip.

MessageBoxButtons

指定若干常数,用以定义 MessageBox 上将显示哪些按钮 Specifies constants defining which buttons to display on a MessageBox.

MessageBoxDefaultButton

指定若干常数,用以定义 MessageBox 上的默认按钮。 Specifies constants defining the default button on a MessageBox.

MessageBoxIcon

指定常数来定义要显示的信息。 Specifies constants defining which information to display.

MessageBoxOptions

指定 MessageBox 上的选项。 Specifies options on a MessageBox.

MonthCalendar.HitArea

定义表示 MonthCalendar 控件中区域的常量。 Defines constants that represent areas in a MonthCalendar control.

MouseButtons

指定定义哪个鼠标按钮曾按下的常数。 Specifies constants that define which mouse button was pressed.

Orientation

指定控件或控件元素的方向。 Specifies the orientation of controls or elements of controls.

PictureBoxSizeMode

指定图像在 PictureBox 中的定位方式。 Specifies how an image is positioned within a PictureBox.

PowerLineStatus

指定系统电源状态。 Specifies the system power status.

PowerState

定义指示挂起系统电源活动模式的标识符。 Defines identifiers that indicate a suspended system power activity mode.

PreProcessControlState

提供用于指定控件与预处理消息之间的关系的选项。 Provides options that specify the relationship between the control and preprocessing messages.

ProgressBarStyle

指定 ProgressBar 用于指示操作进度的样式。 Specifies the style that a ProgressBar uses to indicate the progress of an operation.

PropertySort

指定如何在 PropertyGrid 中对属性进行排序。 Specifies how properties are sorted in the PropertyGrid.

RichTextBoxFinds

指定如何在 RichTextBox 控件中执行文本搜索。 Specifies how a text search is carried out in a RichTextBox control.

RichTextBoxLanguageOptions

提供针对输入法编辑器 (IME) 和亚洲语言支持的 RichTextBox 设置。 Provides RichTextBox settings for Input Method Editor (IME) and Asian language support.

RichTextBoxScrollBars

指定要在 RichTextBox 控件中显示的滚动条的类型。 Specifies the type of scroll bars to display in a RichTextBox control.

RichTextBoxSelectionAttribute

指定当前选择中的所有字符是否都具有该样式或特性。 Specifies whether any characters in the current selection have the style or attribute.

RichTextBoxSelectionTypes

指定 RichTextBox 控件中选定内容的类型。 Specifies the type of selection in a RichTextBox control.

RichTextBoxStreamType

指定用于加载和保存 RichTextBox 控件数据的输入流和输出流的类型。 Specifies the types of input and output streams used to load and save data in the RichTextBox control.

RichTextBoxWordPunctuations

指定可用于 RichTextBox 控件的自动换行和断字功能的标点符号表的类型。 Specifies the types of punctuation tables that can be used with the RichTextBox control's word-wrapping and word-breaking features.

RightToLeft

指定一个值,它指示文本是否从右至左显示,就像使用希伯来或阿拉伯字体时那样。 Specifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts.

ScreenOrientation

指定屏幕的角度。 Specifies the angle of the screen.

ScrollBars

指定哪些滚动条在控件上可见。 Specifies which scroll bars will be visible on a control.

ScrollButton

指定要在滚动条上绘制的滚动箭头的类型。 Specifies the type of scroll arrow to draw on a scroll bar.

ScrollEventType

指定用于引发 Scroll 事件的操作的类型。 Specifies the type of action used to raise the Scroll event.

ScrollOrientation

Scroll 事件指定滚动条方向。 Specifies the scroll bar orientation for the Scroll event.

SearchDirectionHint

提供在何处搜索 ListViewItem 的指导性提示。 Provides a directional hint of where to search for a ListViewItem.

SecurityIDType

不使用此枚举。 This enumeration is not used.

SelectionMode

指定列表框的选定行为。 Specifies the selection behavior of a list box.

Shortcut

指定可由菜单项使用的快捷键。 Specifies shortcut keys that can be used by menu items.

SizeGripStyle

指定 Form 上的大小调整手柄的样式。 Specifies the style of the sizing grip on a Form.

SizeType

指定如何调整用户界面 (UI) 元素的行或列相对于其容器的大小。 Specifies how rows or columns of user interface (UI) elements should be sized relative to their container.

SortOrder

指定列表中项的排序方式。 Specifies how items in a list are sorted.

StatusBarPanelAutoSize

指定调整 StatusBarPanel 控件大小时该控件上的 StatusBar 的行为方式。 Specifies how a StatusBarPanel on a StatusBar control behaves when the control resizes.

StatusBarPanelBorderStyle

指定 StatusBarPanel 控件上 StatusBar 的边框外观。 Specifies the appearance of the border for a StatusBarPanel on a StatusBar control.

StatusBarPanelStyle

指定 StatusBarPanel 控件上的 StatusBar 对象是所有者描述的还是系统描述的。 Specifies whether a StatusBarPanel object on a StatusBar control is owner-drawn or system-drawn.

StructFormat

不使用此枚举。 This enumeration is not used.

SystemParameter

指定系统参数类型。 Specifies the system parameter type.

TabAlignment

指定选项卡控件中的选项卡位置。 Specifies the locations of the tabs in a tab control.

TabAppearance

指定选项卡控件中的选项卡外观。 Specifies the appearance of the tabs in a tab control.

TabControlAction

定义表示 TabControl 事件的值。 Defines values representing TabControl events.

TabDrawMode

指定选项卡控件中的选项卡是所有者描述的(由父窗口描述)还是由操作系统描述的。 Specifies whether the tabs in a tab control are owner-drawn (drawn by the parent window), or drawn by the operating system.

TableLayoutPanelCellBorderStyle

指定表布局控件中单元格的边框样式。 Specifies the border style of a cell in a table layout control.

TableLayoutPanelGrowStyle

指定 TableLayoutPanel 在其现有单元格已满之后,如何获取其他行或列。 Specifies how a TableLayoutPanel will gain additional rows or columns after its existing cells are full.

TabSizeMode

指定选项卡控件中的选项卡如何调整大小。 Specifies how tabs in a tab control are sized.

TextDataFormat

指定用于 ClipboardDataObject 类的文本相关方法的格式。 Specifies the formats used with text-related methods of the Clipboard and DataObject classes.

TextFormatFlags

指定文本字符串的显示和布局信息。 Specifies the display and layout information for text strings.

TextImageRelation

指定控件上的文本和图像彼此之间的相对位置。 Specifies the position of the text and image relative to each other on a control.

TickStyle

指定 TrackBar 控件中刻度线的位置。 Specifies the location of tick marks in a TrackBar control.

ToolBarAppearance

指定要显示的工具栏的类型。 Specifies the type of toolbar to display.

ToolBarButtonStyle

指定工具栏中按钮的样式。 Specifies the button style within a toolbar.

ToolBarTextAlign

指定工具栏按钮控件上文本的对齐方式。 Specifies the alignment of text on the toolbar button control.

ToolStripDropDownCloseReason

指定 ToolStripDropDown 控件关闭的原因。 Specifies the reason that a ToolStripDropDown control was closed.

ToolStripDropDownDirection

指定 ToolStripDropDown 控件相对于其父控件的显示方向。 Specifies the direction in which a ToolStripDropDown control is displayed relative to its parent control.

ToolStripGripDisplayStyle

指定 ToolStrip 移动柄(手柄)的方向。 Specifies the orientation of the ToolStrip move handle (grip).

ToolStripGripStyle

指定 ToolStrip 移动手柄(手柄)的可见性。 Specifies visibility of a ToolStrip move handle (grip).

ToolStripItemAlignment

确定 ToolStripItem 中的 ToolStrip 的对齐方式。 Determines the alignment of a ToolStripItem in a ToolStrip.

ToolStripItemDisplayStyle

指定为此 ToolStripItem 显示何种对象(图像还是文本)。 Specifies what to render (image or text) for this ToolStripItem.

ToolStripItemImageScaling

指定 ToolStripItem 上的图像的大小是否自动调整为适合 ToolStrip 的大小,并同时保持原始图像的比例。 Specifies whether the size of the image on a ToolStripItem is automatically adjusted to fit on a ToolStrip while retaining the original image proportions.

ToolStripItemOverflow

确定某个 ToolStripItem 是否在溢出 ToolStrip 中。 Determines whether a ToolStripItem is placed in the overflow ToolStrip.

ToolStripItemPlacement

指定 ToolStripItem 的放置位置。 Specifies where a ToolStripItem is to be layed out.

ToolStripLayoutStyle

指定显示 ToolStrip 的项时可能使用的对齐方式。 Specifies the possible alignments with which the items of a ToolStrip can be displayed.

ToolStripManagerRenderMode

指定应用于窗体内包含的多个 ToolStrip 对象的绘制样式。 Specifies the painting style applied to multiple ToolStrip objects contained in a form.

ToolStripRenderMode

指定应用于窗体中包含的一个 ToolStrip 的绘制样式。 Specifies the painting style applied to one ToolStrip contained in a form.

ToolStripStatusLabelBorderSides

指定 ToolStripStatusLabel 的哪些边具有边框。 Specifies which sides of a ToolStripStatusLabel have borders.

ToolStripTextDirection

指定要用于特定 LayoutStyle 的文本方向。 Specifies the text orientation to use with a particular LayoutStyle.

ToolTipIcon

定义一组可与工具提示相关联的标准化图标。 Defines a set of standardized icons that can be associated with a ToolTip.

TreeNodeStates

定义表示 TreeNode 的可能状态的常数。 Defines constants that represent the possible states of a TreeNode.

TreeViewAction

指定引发 TreeViewEventArgs 事件的操作。 Specifies the action that raised a TreeViewEventArgs event.

TreeViewDrawMode

定义表示 TreeView 的绘制方法的常数。 Defines constants that represent the ways a TreeView can be drawn.

TreeViewHitTestLocations

定义表示 TreeViewTreeNode 的区域的常量。 Defines constants that represent areas of a TreeView or TreeNode.

UICues

指定用户界面的状态。 Specifies the state of the user interface.

UnhandledExceptionMode

定义 Windows 窗体应用程序应在何处发送未经处理的异常。 Defines where a Windows Forms application should send unhandled exceptions.

ValidationConstraints

定义一些常数,用于通知 ValidateChildren(ValidationConstraints) 应如何验证容器的子控件。 Defines constants that inform ValidateChildren(ValidationConstraints) about how it should validate a container's child controls.

View

指定 ListView 控件中列表项的显示方式。 Specifies how list items are displayed in a ListView control.

WebBrowserEncryptionLevel

指定定义加密方法的常数,这些加密方法由显示在 WebBrowser 控件中的文档使用。 Specifies constants that define the encryption methods used by documents displayed in the WebBrowser control.

WebBrowserReadyState

指定定义 WebBrowser 控件状态的常数。 Specifies constants that define the state of the WebBrowser control.

WebBrowserRefreshOption

指定常数,这些常数定义 WebBrowser 控件可如何刷新其内容。 Specifies constants that define how the WebBrowser control can refresh its contents.

委托

Application.MessageLoopCallback

表示将检查宿主环境是否仍在发送消息的方法。 Represents a method that will check whether the hosting environment is still sending messages.

AxHost.AboutBoxDelegate

表示将显示 ActiveX 控件的“关于”对话框的方法。 Represents the method that will display an ActiveX control's About dialog box.

BindingCompleteEventHandler

表示将处理数据绑定方案中 BindingComplete 事件的方法。 Represents the method that will handle the BindingComplete event in data-binding scenarios.

BindingManagerDataErrorEventHandler

表示将用来处理 DataErrorBindingManagerBase 事件的方法。 Represents the method that will handle the DataError event of a BindingManagerBase.

CacheVirtualItemsEventHandler

表示将用来处理 CacheVirtualItemsListView 事件的方法。 Represents the method that will handle the CacheVirtualItems event of a ListView.

ColumnClickEventHandler

表示将用来处理 ColumnClickListView 事件的方法。 Represents the method that will handle the ColumnClick event of a ListView.

ColumnReorderedEventHandler

表示将处理 ColumnReordered 控件的 ListView 事件的方法。 Represents the method that will handle the ColumnReordered event of the ListView control.

ColumnWidthChangedEventHandler

表示将用来处理 ColumnWidthChangedListView 事件的方法。 Represents the method that will handle the ColumnWidthChanged event of a ListView.

ColumnWidthChangingEventHandler

表示将用来处理 ColumnWidthChangingListView 事件的方法。 Represents the method that will handle the ColumnWidthChanging event of a ListView.

ContentsResizedEventHandler

表示将用来处理 ContentsResizedRichTextBox 事件的方法。 Represents the method that will handle the ContentsResized event of a RichTextBox.

ControlEventHandler

表示将处理 ControlAdded 类的 ControlRemovedControl 事件的方法。 Represents the method that will handle the ControlAdded and ControlRemoved events of the Control class.

ConvertEventHandler

表示将处理 ParseFormatBinding 事件的方法。 Represents the method that will handle the Parse and Format events of a Binding.

DataGridViewAutoSizeColumnModeEventHandler

表示将处理 AutoSizeColumnModeChanged 控件的 DataGridView 事件的方法。 Represents the method that will handle the AutoSizeColumnModeChanged event of a DataGridView control.

DataGridViewAutoSizeColumnsModeEventHandler

表示将处理 AutoSizeColumnsModeChanged 控件的 DataGridView 事件的方法。 Represents the method that will handle the AutoSizeColumnsModeChanged event of a DataGridView control.

DataGridViewAutoSizeModeEventHandler

表示将对 AutoSizeRowsModeChangedRowHeadersWidthSizeModeChangedDataGridView 事件进行处理的方法。 Represents the method that will handle the AutoSizeRowsModeChanged or RowHeadersWidthSizeModeChanged events of a DataGridView.

DataGridViewBindingCompleteEventHandler

表示将用来处理 DataBindingCompleteDataGridView 事件的方法。 Represents the method that will handle the DataBindingComplete event of a DataGridView.

DataGridViewCellCancelEventHandler

表示将处理 CellBeginEditRowValidatingDataGridView 事件的方法。 Represents the method that will handle the CellBeginEdit and RowValidating events of a DataGridView.

DataGridViewCellContextMenuStripNeededEventHandler

表示将处理 CellContextMenuStripNeededDataGridView 事件的方法。 Represents the method that will handle a CellContextMenuStripNeeded event of a DataGridView.

DataGridViewCellErrorTextNeededEventHandler

表示将用来处理 CellErrorTextNeededDataGridView 事件的方法。 Represents the method that will handle the CellErrorTextNeeded event of a DataGridView.

DataGridViewCellEventHandler

表示将处理与单元格和行操作相关的 DataGridView 事件的方法。 Represents the method that will handle DataGridView events related to cell and row operations.

DataGridViewCellFormattingEventHandler

表示将用来处理 CellFormattingDataGridView 事件的方法。 Represents the method that will handle the CellFormatting event of a DataGridView.

DataGridViewCellMouseEventHandler

表示将处理 DataGridView 引发的与鼠标相关的事件的方法。 Represents the method that will handle mouse-related events raised by a DataGridView.

DataGridViewCellPaintingEventHandler

表示将用来处理 CellPaintingDataGridView 事件的方法。 Represents the method that will handle the CellPainting event of a DataGridView.

DataGridViewCellParsingEventHandler

表示将处理 CellParsingDataGridView 事件的方法。 Represents the method that will handle a CellParsing event of a DataGridView.

DataGridViewCellStateChangedEventHandler

表示将用来处理 CellStateChangedDataGridView 事件的方法。 Represents the method that will handle the CellStateChanged event of a DataGridView.

DataGridViewCellStyleContentChangedEventHandler

表示将用来处理 CellStyleContentChangedDataGridView 事件的方法。 Represents the method that will handle the CellStyleContentChanged event of a DataGridView.

DataGridViewCellToolTipTextNeededEventHandler

表示将用来处理 CellToolTipTextNeededDataGridView 事件的方法。 Represents the method that will handle the CellToolTipTextNeeded event of a DataGridView.

DataGridViewCellValidatingEventHandler

表示将处理 CellValidating 控件的 DataGridView 事件的方法。 Represents the method that will handle the CellValidating event of a DataGridView control.

DataGridViewCellValueEventHandler

表示将处理 CellValueNeededCellValuePushed 事件或 DataGridView 事件的方法。 Represents the method that will handle the CellValueNeeded event or CellValuePushed event of a DataGridView.

DataGridViewColumnDividerDoubleClickEventHandler

表示将用来处理 ColumnDividerDoubleClickDataGridView 事件的方法。 Represents the method that will handle the ColumnDividerDoubleClick event of a DataGridView.

DataGridViewColumnEventHandler

表示将处理 DataGridView 的列相关事件的方法。 Represents the method that will handle column-related events of a DataGridView.

DataGridViewColumnStateChangedEventHandler

表示将用来处理 ColumnStateChangedDataGridView 事件的方法。 Represents the method that will handle the ColumnStateChanged event of a DataGridView.

DataGridViewDataErrorEventHandler

表示将用来处理 DataErrorDataGridView 事件的方法。 Represents the method that will handle the DataError event of a DataGridView.

DataGridViewEditingControlShowingEventHandler

表示将用来处理 EditingControlShowingDataGridView 事件的方法。 Represents the method that will handle the EditingControlShowing event of a DataGridView.

DataGridViewRowCancelEventHandler

表示将用来处理 UserDeletingRowDataGridView 事件的方法。 Represents the method that will handle the UserDeletingRow event of a DataGridView.

DataGridViewRowContextMenuStripNeededEventHandler

表示将用来处理 RowContextMenuStripNeededDataGridView 事件的方法。 Represents the method that will handle the RowContextMenuStripNeeded event of a DataGridView.

DataGridViewRowDividerDoubleClickEventHandler

表示将用来处理 RowDividerDoubleClickDataGridView 事件的方法。 Represents the method that will handle the RowDividerDoubleClick event of a DataGridView.

DataGridViewRowErrorTextNeededEventHandler

表示将用来处理 RowErrorTextNeededDataGridView 事件的方法。 Represents the method that will handle the RowErrorTextNeeded event of a DataGridView.

DataGridViewRowEventHandler

表示将处理 DataGridView 的、与行相关的事件的方法。 Represents the method that will handle row-related events of a DataGridView.

DataGridViewRowHeightInfoNeededEventHandler

表示将处理 RowHeightInfoNeeded 控件的 DataGridView 事件的方法。 Represents the method that will handle an RowHeightInfoNeeded event of a DataGridView control.

DataGridViewRowHeightInfoPushedEventHandler

表示将用来处理 RowHeightInfoPushedDataGridView 事件的方法。 Represents the method that will handle the RowHeightInfoPushed event of a DataGridView.

DataGridViewRowPostPaintEventHandler

表示将用来处理 RowPostPaintDataGridView 事件的方法。 Represents the method that will handle the RowPostPaint event of a DataGridView.

DataGridViewRowPrePaintEventHandler

表示将用来处理 RowPrePaintDataGridView 事件的方法。 Represents the method that will handle the RowPrePaint event of a DataGridView.

DataGridViewRowsAddedEventHandler

表示将用来处理 RowsAddedDataGridView 事件的方法。 Represents the method that will handle the RowsAdded event of a DataGridView.

DataGridViewRowsRemovedEventHandler

表示将用来处理 RowsRemovedDataGridView 事件的方法。 Represents the method that will handle the RowsRemoved event of a DataGridView.

DataGridViewRowStateChangedEventHandler

表示将用来处理 RowStateChangedDataGridView 事件的方法。 Represents the method that will handle the RowStateChanged event of a DataGridView.

DataGridViewSortCompareEventHandler

表示将处理 SortCompare 控件的 DataGridView 事件的方法。 Represents the method that will handle the SortCompare event of a DataGridView control.

DateBoldEventHandler

表示将处理 MonthCalendar 控件的内部事件的方法。 Represents the method that will handle an internal event of the MonthCalendar control.

DateRangeEventHandler

表示将对 DateChangedDateSelectedMonthCalendar 事件进行处理的方法。 Represents the method that will handle the DateChanged or DateSelected event of a MonthCalendar.

DpiChangedEventHandler

表示将处理窗体或控件的 DpiChanged 事件的方法。 Represents the method that will handle a DpiChanged event of a form or control.

DragEventHandler

表示将处理 DragDropDragEnterDragOverControl 事件的方法。 Represents the method that will handle the DragDrop, DragEnter, or DragOver event of a Control.

DrawItemEventHandler

表示将处理 ComboBoxListBoxMenuItemTabControl 控件的 DrawItem 事件的方法。 Represents the method that will handle the DrawItem event of a ComboBox, ListBox, MenuItem, or TabControl control.

DrawListViewColumnHeaderEventHandler

表示将用来处理 DrawColumnHeaderListView 事件的方法。 Represents the method that will handle the DrawColumnHeader event of a ListView.

DrawListViewItemEventHandler

表示将用来处理 DrawItemListView 事件的方法。 Represents the method that will handle the DrawItem event of a ListView.

DrawListViewSubItemEventHandler

表示将用来处理 DrawSubItemListView 事件的方法。 Represents the method that will handle the DrawSubItem event of a ListView.

DrawToolTipEventHandler

表示将用来处理 DrawToolTip 事件的方法。 Represents the method that will handle the Draw event of a ToolTip.

DrawTreeNodeEventHandler

表示将用来处理 DrawNodeTreeView 事件的方法。 Represents the method that will handle the DrawNode event of a TreeView.

FormClosedEventHandler

表示处理 FormClosed 事件的方法。 Represents the method that handles a FormClosed event.

FormClosingEventHandler

表示处理 FormClosing 事件的方法。 Represents the method that handles a FormClosing event.

GiveFeedbackEventHandler

表示处理 ControlGiveFeedback 事件的方法。 Represents the method that handles the GiveFeedback event of a Control.

HelpEventHandler

表示将用来处理 HelpRequestedControl 事件的方法。 Represents the method that will handle the HelpRequested event of a Control.

HtmlElementErrorEventHandler

表示将要处理 HtmlWindowError 事件的方法。 Represents the method that will handle the Error event of an HtmlWindow.

HtmlElementEventHandler

表示将处理 HtmlDocumentHtmlElementHtmlWindow 上的 ClickMouseDown 和相关事件的方法。 Represents the method that will handle the Click, MouseDown and related events on HtmlDocument, HtmlElement, and HtmlWindow.

InputLanguageChangedEventHandler

表示将用来处理 InputLanguageChangedForm 事件的方法。 Represents the method that will handle the InputLanguageChanged event of a Form.

InputLanguageChangingEventHandler

表示将用来处理 InputLanguageChangingForm 事件的方法。 Represents the method that will handle the InputLanguageChanging event of a Form.

InvalidateEventHandler

表示将用来处理 InvalidatedControl 事件的方法。 Represents the method that will handle the Invalidated event of a Control.

ItemChangedEventHandler

表示将处理 CurrencyManager 类的 ItemChanged 事件的方法。 Represents the method that will handle the ItemChanged event of the CurrencyManager class.

ItemCheckedEventHandler

表示将处理 ItemChecked 控件的 ListView 事件的方法。 Represents the method that will handle the ItemChecked event of a ListView control.

ItemCheckEventHandler

表示将处理 CheckedListBox 控件或 ListView 控件的 ItemCheck 事件的方法。 Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView control.

ItemDragEventHandler

表示将处理 ListView 控件或 TreeView 控件的 ItemDrag 事件的方法。 Represents the method that will handle the ItemDrag event of a ListView or TreeView control.

KeyEventHandler

表示将对 KeyUpKeyDownControl 事件进行处理的方法。 Represents the method that will handle the KeyUp or KeyDown event of a Control.

KeyPressEventHandler

表示将用来处理 KeyPressControl 事件的方法。 Represents the method that will handle the KeyPress event of a Control.

LabelEditEventHandler

表示处理 BeforeLabelEditAfterLabelEdit 事件的方法。 Represents the method that handles the BeforeLabelEdit and AfterLabelEdit events.

LayoutEventHandler

表示将用来处理 LayoutControl 事件的方法。 Represents the method that will handle the Layout event of a Control.

LinkClickedEventHandler

表示将用来处理 LinkClickedRichTextBox 事件的方法。 Represents the method that will handle the LinkClicked event of a RichTextBox.

LinkLabelLinkClickedEventHandler

表示将用来处理 LinkClickedLinkLabel 事件的方法。 Represents the method that will handle the LinkClicked event of a LinkLabel.

ListControlConvertEventHandler

表示将处理转换 ListControl 的方法。 Represents the method that will handle converting a ListControl.

ListViewItemMouseHoverEventHandler

表示将用来处理 ItemMouseHoverListView 事件的方法。 Represents the method that will handle the ItemMouseHover event of a ListView.

ListViewItemSelectionChangedEventHandler

表示将用来处理 ItemSelectionChangedListView 事件的方法。 Represents the method that will handle the ItemSelectionChanged event of a ListView.

ListViewVirtualItemsSelectionRangeChangedEventHandler

表示将用来处理 VirtualItemsSelectionRangeChangedListView 事件的方法。 Represents the method that will handle the VirtualItemsSelectionRangeChanged event of a ListView.

MaskInputRejectedEventHandler

表示将处理 MaskInputRejected 控件的 MaskedTextBox 事件的方法。 Represents the method that will handle the MaskInputRejected event of a MaskedTextBox control.

MeasureItemEventHandler

表示将处理 ListBoxComboBoxCheckedListBoxMenuItem 控件的 MeasureItem 事件的方法。 Represents the method that will handle the MeasureItem event of the ListBox, ComboBox, CheckedListBox, or MenuItem controls.

MethodInvoker

表示一个委托,该委托可执行托管代码中声明为 void 且不接受任何参数的任何方法。 Represents a delegate that can execute any method in managed code that is declared void and takes no parameters.

MouseEventHandler

表示将处理窗体、控件或其他组件的 MouseDownMouseUpMouseMove 事件的方法。 Represents the method that will handle the MouseDown, MouseUp, or MouseMove event of a form, control, or other component.

NavigateEventHandler

表示将用来处理 NavigateEventArgsDataGrid 事件的方法。 Represents the method that will handle the NavigateEventArgs event of a DataGrid.

NodeLabelEditEventHandler

表示将用于处理 BeforeLabelEdit 控件的 AfterLabelEditTreeView 事件的方法。 Represents the method that will handle the BeforeLabelEdit and AfterLabelEdit events of a TreeView control.

PaintEventHandler

表示将用来处理 PaintControl 事件的方法。 Represents the method that will handle the Paint event of a Control.

PopupEventHandler

表示处理 Popup 类的 ToolTip 事件的方法。 Represents the method that handles the Popup event of the ToolTip class.

PreviewKeyDownEventHandler

表示将处理控件的 PreviewKeyDown 事件的方法。 Represents the method that will handle the PreviewKeyDown event for a control.

PropertyTabChangedEventHandler

表示将用来处理 PropertyTabChangedPropertyGrid 事件的方法。 Represents the method that will handle the PropertyTabChanged event of a PropertyGrid.

PropertyValueChangedEventHandler

当用户修改网格中的属性时所调用的事件处理程序类。 The event handler class that is invoked when a property in the grid is modified by the user.

QueryAccessibilityHelpEventHandler

表示将处理控件的 QueryAccessibilityHelp 事件的方法。 Represents the method that will handle the QueryAccessibilityHelp event of a control.

QueryContinueDragEventHandler

表示将用来处理 QueryContinueDragControl 事件的方法。 Represents the method that will handle the QueryContinueDrag event of a Control.

QuestionEventHandler

表示将处理 CancelRowEditRowDirtyStateNeeded 事件或 DataGridView 事件的方法。 Represents the method that will handle the CancelRowEdit event or the RowDirtyStateNeeded event of a DataGridView.

RetrieveVirtualItemEventHandler

表示将用来处理 RetrieveVirtualItemListView 事件的方法。 Represents the method that will handle the RetrieveVirtualItem event of a ListView.

ScrollEventHandler

表示处理 DataGridViewScrollBarTrackBarDataGridScroll 事件的方法。 Represents the method that handles the Scroll event of a DataGridView, ScrollBar, TrackBar, or DataGrid.

SearchForVirtualItemEventHandler

表示将用来处理 SearchForVirtualItemListView 事件的方法。 Represents the method that will handle the SearchForVirtualItem event of a ListView.

SelectedGridItemChangedEventHandler

表示将用来处理 SelectedGridItemChangedPropertyGrid 事件的方法。 Represents the method that will handle the SelectedGridItemChanged event of a PropertyGrid.

SplitterCancelEventHandler

表示将用来处理 SplitterMovingSplitter 事件的方法。 Represents the method that will handle the SplitterMoving event of a Splitter.

SplitterEventHandler

表示将处理 SplitterMovingSplitterMovedSplitter 事件的方法。 Represents the method that will handle the SplitterMoving and SplitterMoved events of a Splitter.

StatusBarDrawItemEventHandler

表示将用来处理 DrawItemStatusBar 事件的方法。 Represents the method that will handle the DrawItem event of a StatusBar.

StatusBarPanelClickEventHandler

表示将用来处理 PanelClickStatusBar 事件的方法。 Represents the method that will handle the PanelClick event of a StatusBar.

TabControlCancelEventHandler

表示将对 Selecting 控件的 DeselectingTabControl 事件进行处理的方法。 Represents the method that will handle the Selecting or Deselecting event of a TabControl control.

TabControlEventHandler

表示将对 Selected 控件的 DeselectedTabControl 事件进行处理的方法。 Represents the method that will handle the Selected or Deselected event of a TabControl control.

TableLayoutCellPaintEventHandler

表示将处理 CellPaint 事件的方法。 Represents the method that will handle the CellPaint event.

ToolBarButtonClickEventHandler

表示将用来处理 ButtonClickToolBar 事件的方法。 Represents the method that will handle the ButtonClick event of a ToolBar.

ToolStripArrowRenderEventHandler

表示将用来处理 RenderArrowToolStripRenderer 事件的方法。 Represents the method that will handle the RenderArrow event of a ToolStripRenderer. 此类不能被继承。 This class cannot be inherited.

ToolStripContentPanelRenderEventHandler

表示将用来处理 RendererChangedToolStripContentPanel 事件的方法。 Represents the method that will handle the RendererChanged event of a ToolStripContentPanel.

ToolStripDropDownClosedEventHandler

表示将用来处理 ClosedToolStripDropDown 事件的方法。 Represents the method that will handle the Closed event of a ToolStripDropDown.

ToolStripDropDownClosingEventHandler

表示处理 ToolStripDropDownClosing 事件的方法。 Represents the method that handles the Closing event of a ToolStripDropDown.

ToolStripGripRenderEventHandler

表示将用来处理 RenderGripToolStripRenderer 事件的方法。 Represents the method that will handle the RenderGrip event of a ToolStripRenderer.

ToolStripItemClickedEventHandler

表示将用来处理 ItemClickedToolStripItem 事件的方法。 Represents the method that will handle the ItemClicked event of a ToolStripItem.

ToolStripItemEventHandler

表示将处理 ToolStripItem 的事件的方法。 Represents the method that will handle events for a ToolStripItem.

ToolStripItemImageRenderEventHandler

表示将处理 RenderItemImageRenderItemCheck 事件或 ToolStripRenderer 事件的方法。 Represents the method that will handle the RenderItemImage event or RenderItemCheck event of a ToolStripRenderer.

ToolStripItemRenderEventHandler

表示处理事件的方法,这些事件在 ToolStripItem 类中呈现派生自 ToolStripRenderer 的对象的背景。 Represents the method that handles the events that render the background of objects derived from ToolStripItem in the ToolStripRenderer class.

ToolStripItemTextRenderEventHandler

表示将用来处理 RenderItemTextToolStripRenderer 事件的方法。 Represents the method that will handle the RenderItemText event of a ToolStripRenderer.

ToolStripPanelRenderEventHandler

表示将处理 ToolStripPanel 绘制事件的方法。 Represents the method that will handle ToolStripPanel paint events.

ToolStripRenderEventHandler

表示将处理 RenderToolStripBorderRenderToolStripBackground 事件或 ToolStripRenderer 事件的方法。 Represents the method that will handle the RenderToolStripBorder event or the RenderToolStripBackground event of a ToolStripRenderer.

ToolStripSeparatorRenderEventHandler

表示将处理 RenderSeparator 类的 ToolStripRenderer 事件的方法。 Represents the method that will handle the RenderSeparator event of a ToolStripRenderer class.

TreeNodeMouseClickEventHandler

表示将处理 NodeMouseClickNodeMouseDoubleClickTreeView 事件的方法。 Represents the method that will handle the NodeMouseClick and NodeMouseDoubleClick events of a TreeView.

TreeNodeMouseHoverEventHandler

表示将用来处理 NodeMouseHoverTreeView 事件的方法。 Represents the method that will handle the NodeMouseHover event of a TreeView.

TreeViewCancelEventHandler

表示将对 BeforeCheck 的以下事件进行处理的方法:BeforeCollapseBeforeExpandBeforeSelectTreeView Represents the method that will handle the BeforeCheck, BeforeCollapse, BeforeExpand, or BeforeSelect event of a TreeView.

TreeViewEventHandler

表示将对 AfterCheck 的以下事件进行处理的方法:AfterCollapseAfterExpandAfterSelectTreeView Represents the method that will handle the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect event of a TreeView.

TypeValidationEventHandler

表示将处理 TypeValidationCompleted 控件的 MaskedTextBox 事件的方法。 Represents the method that will handle the TypeValidationCompleted event of the MaskedTextBox control.

UICuesEventHandler

表示将处理 ChangeUICuesControl 事件的方法。 Represents a method that will handle the ChangeUICues event of a Control.

UpDownEventHandler

表示将处理内部类的事件的方法。 Represents the method that will handle an event for an internal class.

WebBrowserDocumentCompletedEventHandler

表示将处理 DocumentCompleted 控件的 WebBrowser 事件的方法。 Represents the method that will handle the DocumentCompleted event of a WebBrowser control.

WebBrowserNavigatedEventHandler

表示将处理 Navigated 控件的 WebBrowser 事件的方法。 Represents the method that will handle the Navigated event of a WebBrowser control.

WebBrowserNavigatingEventHandler

表示将处理 Navigating 控件的 WebBrowser 事件的方法。 Represents the method that will handle the Navigating event of a WebBrowser control.

WebBrowserProgressChangedEventHandler

表示将处理 ProgressChanged 控件的 WebBrowser 事件的方法。 Represents the method that will handle the ProgressChanged event of a WebBrowser control.

注解

下表显示了中的类System.Windows.Forms命名空间划分为不同类别。The following table shows the classes in System.Windows.Forms namespace grouped into categories.

类类别Class category 详细信息Details
-控制、 用户控件和窗体- Control, User Control, and Form 中的大多数类System.Windows.Forms命名空间派生Control类。Most classes within the System.Windows.Forms namespace derive from the Control class. Control类提供的所有控件上显示的基本功能FormThe Control class provides the base functionality for all controls that are displayed on a Form. Form类表示应用程序中的窗口。The Form class represents a window within an application. 这包括访问对话框、 无模式窗口和多文档界面 (MDI) 客户端和父窗口。This includes dialog boxes, modeless windows, and Multiple Document Interface (MDI) client and parent windows. 此外可以通过从派生来创建你自己的控件UserControl类。You can also create your own controls by deriving from the UserControl class.
-菜单和工具栏- Menus and Toolbars Windows 窗体包含一组丰富的用于具有新式外观和行为 (外观和感受) 创建自己的自定义工具栏和菜单的类。Windows Forms contains a rich set of classes for creating your own custom toolbars and menus with modern appearance and behavior (look and feel). ToolStripMenuStripContextMenuStrip,和StatusStrip可用于分别创建工具栏、 菜单栏中,上下文菜单和状态栏。ToolStrip, MenuStrip, ContextMenuStrip, and StatusStrip can be used to create toolbars, menu bars, context menus, and status bars, respectively.
-控件- Controls System.Windows.Forms命名空间提供了各种可用于创建丰富的用户界面的控件类。The System.Windows.Forms namespace provides a variety of control classes that you can use to create rich user interfaces. 某些控件设计用于数据输入在应用程序,如TextBoxComboBox控件。Some controls are designed for data entry within the application, such as TextBox and ComboBox controls. 其他控件显示应用程序数据,如LabelListViewOther controls display application data, such as Label and ListView. 命名空间还提供如调用在应用程序中的命令控件ButtonThe namespace also provides controls for invoking commands within the application, such as Button. WebBrowser控件和托管 HTML 类,如HtmlDocument,可让你显示和操作在托管 Windows 窗体应用程序中的 HTML 页面。The WebBrowser control and managed HTML classes, such as HtmlDocument, let you display and manipulate HTML pages within your managed Windows Forms application. MaskedTextBox控件是高级的数据输入控件,使您可以定义掩码,它会自动接受或拒绝用户输入。The MaskedTextBox control is an advanced data entry control that lets you define masks that automatically accept or reject user input. 此外,还可以使用PropertyGrid控件创建自己的 Windows 窗体设计器显示控件的设计器可见的属性。Additionally, you can use the PropertyGrid control to create your own Windows Forms Designer that displays the designer-visible properties of the controls.
布局- Layout 在 Windows 窗体中的几个重要的类帮助控件上显示图面,如窗体控件的布局或控件。Several important classes in Windows Forms help control the layout of controls on a display surface, such as a form or control. FlowLayoutPanel 以串行方式,它包含的所有控件的都布局和TableLayoutPanel允许您定义单元格和行的布局中的固定网格控件。FlowLayoutPanel lays out all the controls it contains in a serial manner, and TableLayoutPanel lets you define cells and rows for laying out controls in a fixed grid. SplitContainer 将显示图面划分为两个或多个可调整的部分。SplitContainer divides your display surface into two or more adjustable parts.
数据和数据绑定- Data and Data Binding Windows 窗体定义用于绑定到数据源,例如数据库和 XML 文件的丰富体系结构。Windows Forms defines a rich architecture for binding to data sources such as databases and XML files. DataGridView控件提供可自定义的表,用于显示数据,并允许您自定义单元格、 行、 列和边框。The DataGridView control provides a customizable table for displaying data, and lets you customize cells, rows, columns, and borders. BindingNavigator控件表示导航和处理数据窗体; 上的标准化的方法BindingNavigator经常搭配BindingSource控件在窗体上数据记录之间移动并与之交互。The BindingNavigator control represents a standardized way to navigate and work with data on a form; BindingNavigator is frequently paired with the BindingSource control to move through data records on a form and interact with them.
-组件- Components 除控件外System.Windows.Forms命名空间提供了不从其他类Control类,但仍提供对基于 Windows 的应用程序的可视功能。Besides controls, the System.Windows.Forms namespace provides other classes that do not derive from the Control class but still provide visual features to a Windows-based application. 一些类,如ToolTipErrorProvider、 扩展的功能或向用户提供的信息。Some classes, such as ToolTip and ErrorProvider, extend the capabilities or provide information to the user. HelpHelpProvider类,可以向应用程序的用户显示的帮助信息。With the Help and HelpProvider classes, you can display Help information to a user of your applications.
-公共对话框- Common Dialog Boxes Windows 提供了几个通用对话框,可用于执行任务,例如打开和保存文件、 操作的字体或文本的颜色,或打印时为你的应用程序提供一致的用户界面。Windows provides several common dialog boxes that you can use to give your application a consistent user interface when performing tasks such as opening and saving files, manipulating the font or text color, or printing. OpenFileDialogSaveFileDialog类提供功能,以显示一个对话框,使用户可以找到并输入要打开或保存的文件的名称。The OpenFileDialog and SaveFileDialog classes provide the functionality to display a dialog box that lets the user locate and enter the name of a file to open or save. FontDialog类将显示一个对话框来更改元素的Font应用程序使用。The FontDialog class displays a dialog box to change elements of the Font used by your application. PageSetupDialogPrintPreviewDialog,和PrintDialog类显示的对话框,使用户能够对控制打印文档的各个方面。The PageSetupDialog, PrintPreviewDialog, and PrintDialog classes display dialog boxes that enable the user to control aspects of printing documents. 有关从基于 Windows 的应用程序进行打印的详细信息,请参阅System.Drawing.Printing命名空间。For more information about printing from a Windows-based application, see the System.Drawing.Printing namespace. 通用对话框框中,除了System.Windows.Forms命名空间提供MessageBox类,用于显示一个消息框,可以显示并从用户检索数据。Besides the common dialog boxes, the System.Windows.Forms namespace provides the MessageBox class for displaying a message box that can display and retrieve data from the user.

还有几个类中的System.Windows.Forms为之前的摘要中所述的类提供支持的命名空间。There are several classes within the System.Windows.Forms namespace that provide support to the classes mentioned in the previous summary. 支持的类的示例包括枚举、 事件参数类和使用控件和组件内的事件的委托。Examples of the supporting classes are enumerations, event argument classes, and delegates used by events within controls and components.

小心

Windows 服务中使用不支持在 Windows 窗体命名空间中的类。Classes within the Windows Forms namespace are not supported for use within a Windows service. 尝试使用从服务中的这些类可能会产生意外的问题,例如降低的服务性能和运行时异常。Trying to use these classes from within a service may produce unexpected problems, such as diminished service performance and run-time exceptions.

如果使用.NET Framework 版本 1.1 或.NET Framework 1.0,也必须进行 Windows 窗体的应用程序支持 Windows XP 视觉样式,请确保您设置FlatStyle到控件的属性FlatStyle.System包括使用清单和应用可执行文件。If you are using .NET Framework version 1.1 or .NET Framework 1.0 and you must make your Windows Forms application support Windows XP visual styles, make sure that you set the FlatStyle property of your controls to FlatStyle.System and include a manifest with your executable file. 清单是 XML 文件,包括在应用程序可执行文件内的资源或者作为单独的文件驻留在可执行文件所在的同一目录中。A manifest is an XML file that is included either as a resource within your application executable file or as a separate file that resides in the same directory as the executable file. 有关清单的示例,请参阅示例部分FlatStyle枚举。For an example of a manifest, see the Example section for the FlatStyle enumeration. 有关如何使用 Windows XP 中可用的视觉样式的详细信息,请参阅"使用 Windows XP 视觉样式中用户界面设计和开发"MSDN 库中。For more information about how to use the visual styles available in Windows XP, see "Using Windows XP Visual Styles in the User Interface Design and Development" in the MSDN Library. 默认情况下为.NET Framework 版本 1.1、 1.2 和 2.0 启用视觉样式。By default visual styles are enabled for the .NET Framework versions 1.1, 1.2, and 2.0.