Sie sind auf Seite 1von 42

System.Windows.

Forms Namespace
.NET Framework 4.5
Other Versions

19 out of 28 rated this helpful - Rate this topic


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.
The following table shows the classes in System.Windows.Forms namespace grouped into categories.

Class
category

Details

Control
, User Control,
and Form

Most classes within the System.Windows.Forms namespace derive from


the Control class. The Control class provides the base functionality for all
controls that are displayed on a Form. The Form class represents a window
within an application. This includes dialog boxes, modeless windows, and
Multiple Document Interface (MDI) client and parent windows. You can also
create your own controls by deriving from the UserControl class.

Menus and
Toolbars

Windows Forms contains a rich set of classes for creating your own custom
toolbars and menus with modern appearance and behavior (look and
feel). ToolStrip, MenuStrip, ContextMenuStrip, and StatusStrip can be used to
create toolbars, menu bars, context menus, and status bars, respectively.

Controls

The System.Windows.Forms namespace provides a variety of control classes


that you can use to create rich user interfaces. Some controls are designed for
data entry within the application, such as TextBox and ComboBox controls.
Other controls display application data, such as Label andListView. The
namespace also provides controls for invoking commands within the
application, such as Button. The WebBrowser control and managed HTML
classes, such as HtmlDocument, let you display and manipulate HTML pages
within your managed Windows Forms application.
TheMaskedTextBox control is an advanced data entry control that lets you
define masks that automatically accept or reject user input. Additionally, you
can use the PropertyGrid control to create your own Windows Forms Designer
that displays the designer-visible properties of the controls.

Layout

Several important classes in Windows Forms help control the layout of


controls on a display surface, such as a form or control. 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 divides your display surface into two or more adjustable
parts.

Data and Data


Binding

Windows Forms defines a rich architecture for binding to data sources such as
databases and XML files. The DataGridView control provides a customizable
table for displaying data, and lets you customize cells, rows, columns, and
borders. 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

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. Some classes, such
as ToolTip and ErrorProvider, extend the capabilities or provide information to
the user. With the Help and HelpProvider classes, you can display Help
information to a user of your applications.

Common
Dialog Boxes

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.
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. The FontDialog class displays a dialog box to change elements of
the Font used by your application. The PageSetupDialog, PrintPreviewDialog,
and PrintDialog classes display dialog boxes that enable the user to control
aspects of printing documents. For more information about printing from a
Windows-based application, see theSystem.Drawing.Printing namespace.
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.

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.

Caution
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.
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. 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. For an example of a manifest, see the Example section for the FlatStyle enumeration. 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. By default visual styles are enabled for the
.NET Framework versions 1.1, 1.2, and 2.0.

Classes
Class

Description

AccessibleObject

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

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

Contains a collection of strings to use for the auto-complete


feature on certain Windows Forms controls.

AxHost

Wraps ActiveX controls and exposes them as fully featured


Windows Forms controls.

AxHost.AxComponentEditor

Provides an editor that uses a modal dialog box to display a


property page for an ActiveX control.

AxHost.ClsidAttribute

Specifies the CLSID of an ActiveX control hosted by


an AxHostcontrol.

AxHost.ConnectionPointCookie

Infrastructure. Connects an ActiveX control to a client that


handles the controls events.

AxHost.InvalidActiveXStateExce
ption

The exception that is thrown when the ActiveX control is


referenced while in an invalid state.

AxHost.State

Encapsulates the persisted state of an ActiveX control.

AxHost.StateConverter

Infrastructure. Converts AxHost.State objects from one data type


to another.

AxHost.TypeLibraryTimeStampA
ttribute

Specifies a date and time associated with the type library of an


ActiveX control hosted by an AxHost control.

BaseCollection

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

Provides data for the BindingComplete event.

BindingContext

Manages the collection of BindingManagerBase objects for any


object that inherits from the Control class.

BindingManagerBase

Manages all Binding objects that are bound to the same data
source and data member. This class is abstract.

BindingManagerDataErrorEventA
rgs

Provides data for the DataError event.

BindingNavigator

Represents the navigation and manipulation user interface (UI)


for controls on a form that are bound to data.

BindingsCollection

Represents a collection of Binding objects for a control.

BindingSource

Encapsulates the data source for a form.

Button

Represents a Windows button control.

ButtonBase

Implements the basic functionality common to button controls.

ButtonBase.ButtonBaseAccessibl
eObject

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

Provides data for the CacheVirtualItems event.

CheckBox

Represents a Windows CheckBox.

CheckBox.CheckBoxAccessibleO
bject

Infrastructure. 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

Displays a ListBox in which a check box is displayed to the left


of each item.

CheckedListBox.CheckedIndexC
ollection

Encapsulates the collection of indexes of checked items


(including items in an indeterminate state) in a CheckedListBox.

CheckedListBox.CheckedItemCol
lection

Encapsulates the collection of checked items, including items in


an indeterminate state, in a CheckedListBox control.

CheckedListBox.ObjectCollection

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

Provides data for the ColumnClick event.

ColumnHeader

Displays a single column header in a ListView control.

ColumnHeaderConverter

Provides a type converter to convert ColumnHeader objects from


one type to another.

ColumnReorderedEventArgs

Provides data for the ColumnReordered event.

ColumnStyle

Represents the look and feel of a column in a table layout.

ColumnWidthChangedEventArgs

Provides data for the ColumnWidthChanged event.

ColumnWidthChangingEventArg
s

Provides data for the ColumnWidthChanging event.

ComboBox

Represents a Windows combo box control.

ComboBox.ChildAccessibleObjec
t

Infrastructure. Provides information about


the ComboBox control to accessibility client applications.

ComboBox.ObjectCollection

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

Provides data for the ContentsResized event.

ContextMenu

Represents a shortcut menu.


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

Represents a collection of Control objects.

ControlBindingsCollection

Represents the collection of data bindings for a control.

ControlEventArgs

Provides data for the ControlAdded and ControlRemoved events.

ControlPaint

Provides methods used to paint common Windows controls and


their elements. This class cannot be inherited.

ConvertEventArgs

Provides data for the Format and Parse events.

CreateParams

Encapsulates the information needed when creating a control.

CurrencyManager

Manages a list of Binding objects.

Cursor

Represents the image used to paint the mouse pointer.

CursorConverter

Provides a type converter to convert Cursor objects to and from


various other representations.

Cursors

Provides a collection of Cursor objects for use by a Windows


Forms application.

DataFormats

Provides static, predefined Clipboard format names. Use them to


identify the format of data that you store in an IDataObject.

DataFormats.Format

Represents a Clipboard format type.

DataGrid

Displays ADO.NET data in a scrollable grid.


The DataGridView control replaces and adds functionality to
the DataGrid control; however, theDataGrid control is retained
for both backward compatibility and future use, if you choose.

DataGrid.HitTestInfo

Contains information about a part of


theSystem.Windows.Forms.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

Specifies the appearance, text formatting, and behavior of


aSystem.Windows.Forms.DataGrid control column. This class is
abstract.

DataGridColumnStyle.CompMod
Switches

Infrastructure. Contains a TraceSwitch that is used by the .NET


Framework infrastructure.

DataGridColumnStyle.DataGridC
olumnHeaderAccessibleObject

Provides an implementation for an object that can be inspected


by an accessibility application.

DataGridPreferredColumnWidthT
ypeConverter

Converts the value of an object to a different data type.

DataGridTableStyle

Represents the table drawn by


the System.Windows.Forms.DataGridcontrol at run time.

DataGridTextBox

Represents a TextBox control that is hosted in


aDataGridTextBoxColumn.

DataGridTextBoxColumn

Hosts a TextBox control in a cell of a DataGridColumnStyle for


editing strings.

DataGridView

Displays data in a customizable grid.

DataGridView.DataGridViewAcc
essibleObject

Provides information about the DataGridView control to


accessibility client applications.

DataGridView.DataGridViewCon
trolCollection

Represents a collection of controls contained on


a DataGridView.

DataGridView.DataGridViewTop
RowAccessibleObject

Provides information about a row


of DataGridViewColumnHeaderCellobjects to accessibility
client applications.

DataGridView.HitTestInfo

Contains information, such as the row and column indexes, about


a specific coordinate pair in the DataGridView control. This
class cannot be inherited.

DataGridViewAdvancedBorderSt
yle

Contains border styles for the cells in a DataGridView control.

DataGridViewAutoSizeColumnM
odeEventArgs

Provides data for


the DataGridView.AutoSizeColumnModeChangedevent.

DataGridViewAutoSizeColumns
ModeEventArgs

Provides data for the AutoSizeColumnsModeChanged event.

DataGridViewAutoSizeModeEve
ntArgs

Provides data for


the DataGridView AutoSizeRowsModeChanged andRowHeader
sWidthSizeModeChanged events.

DataGridViewBand

Represents a linear collection of elements in


a DataGridView control.

DataGridViewBindingCompleteE
ventArgs

Provides data for the DataBindingComplete event.

DataGridViewButtonCell

Displays a button-like user interface (UI) for use in


a DataGridViewcontrol.

DataGridViewButtonCell.DataGri
dViewButtonCellAccessibleObjec
t

Provides information about a DataGridViewButtonCell to


accessibility client applications.

DataGridViewButtonColumn

Hosts a collection of DataGridViewButtonCell objects.

DataGridViewCell

Represents an individual cell in a DataGridView control.

DataGridViewCell.DataGridView
CellAccessibleObject

Provides information about a DataGridViewCell to accessibility


client applications.

DataGridViewCellCancelEventAr
gs

Provides data for CellBeginEdit and RowValidating events.

DataGridViewCellCollection

Represents a collection of cells in a DataGridViewRow.

DataGridViewCellContextMenuS
tripNeededEventArgs

Provides data for the CellContextMenuStripNeeded event.

DataGridViewCellErrorTextNeed
edEventArgs

Provides data for the CellErrorTextNeeded event of


a DataGridViewcontrol.

DataGridViewCellEventArgs

Provides data for DataGridView events related to cell and row


operations.

DataGridViewCellFormattingEve
ntArgs

Provides data for the CellFormatting event of a DataGridView.

DataGridViewCellMouseEventAr
gs

Provides data for mouse events raised by


a DataGridView whenever the mouse is moved within
a DataGridViewCell.

DataGridViewCellPaintingEvent
Args

Provides data for the CellPainting event.

DataGridViewCellParsingEventA
rgs

Provides data for the CellParsing event of


a DataGridView control.

DataGridViewCellStateChangedE
ventArgs

Provides data for the CellStateChanged event.

DataGridViewCellStyle

Represents the formatting and style information applied to


individual cells within a DataGridView control.

DataGridViewCellStyleContentC
hangedEventArgs

Provides data for the CellStyleContentChanged event.

DataGridViewCellStyleConverter

Converts DataGridViewCellStyle objects to and from other data


types.

DataGridViewCellToolTipTextNe
ededEventArgs

Provides data for the CellToolTipTextNeeded event.

DataGridViewCellValidatingEven
tArgs

Provides data for the CellValidating event of


a DataGridView control.

DataGridViewCellValueEventArg
s

Provides data for


the CellValueNeeded and CellValuePushed events of
the DataGridView control.

DataGridViewCheckBoxCell

Displays a check box user interface (UI) to use in


a DataGridViewcontrol.

DataGridViewCheckBoxCell.Dat
aGridViewCheckBoxCellAccessi
bleObject

Provides information about a DataGridViewCheckBoxCell to


accessibility client applications.

DataGridViewCheckBoxColumn

Hosts a collection of DataGridViewCheckBoxCell objects.

DataGridViewColumn

Represents a column in a DataGridView control.

DataGridViewColumnCollection

Represents a collection of DataGridViewColumn objects in

aDataGridView control.

DataGridViewColumnDesignTim
eVisibleAttribute

Specifies whether a column type is visible in


the DataGridViewdesigner. This class cannot be inherited.

DataGridViewColumnDividerDo
ubleClickEventArgs

Provides data for the ColumnDividerDoubleClick event of


aDataGridView.

DataGridViewColumnEventArgs

Provides data for column-related events of a DataGridView.

DataGridViewColumnHeaderCell

Represents a column header in a DataGridView control.

DataGridViewColumnHeaderCell
.DataGridViewColumnHeaderCel
lAccessibleObject

Provides information about


a DataGridViewColumnHeaderCell to accessibility client
applications.

DataGridViewColumnStateChang
edEventArgs

Provides data for the ColumnStateChanged event.

DataGridViewComboBoxCell

Displays a combo box in a DataGridView control.

DataGridViewComboBoxCell.Ob
jectCollection

Represents the collection of selection choices in


aDataGridViewComboBoxCell.

DataGridViewComboBoxColumn

Represents a column of DataGridViewComboBoxCell objects.

DataGridViewComboBoxEditing
Control

Represents the hosted combo box control in


aDataGridViewComboBoxCell.

DataGridViewDataErrorEventArg
s

Provides data for the DataError event.

DataGridViewEditingControlSho
wingEventArgs

Provides data for the EditingControlShowing event.

DataGridViewElement

Provides the base class for elements of a DataGridView control.

DataGridViewHeaderCell

Contains functionality common to row header cells and column


header cells.

DataGridViewImageCell

Displays a graphic in a DataGridView control.

DataGridViewImageCell.DataGri
dViewImageCellAccessibleObject

Provides information about a DataGridViewImageCell to


accessibility client applications.

DataGridViewImageColumn

Hosts a collection of DataGridViewImageCell objects.

DataGridViewLinkCell

Represents a cell that contains a link.

DataGridViewLinkCell.DataGrid
ViewLinkCellAccessibleObject

Provides information about a DataGridViewLinkCell control to


accessibility client applications.

DataGridViewLinkColumn

Represents a column of cells that contain links in


a DataGridViewcontrol.

DataGridViewRow

Represents a row in a DataGridView control.

DataGridViewRow.DataGridVie
wRowAccessibleObject

Provides information about a DataGridViewRow to accessibility


client applications.

DataGridViewRowCancelEventA
rgs

Provides data for the UserDeletingRow event of


a DataGridView.

DataGridViewRowCollection

A collection of DataGridViewRow objects.

DataGridViewRowContextMenuS
tripNeededEventArgs

Provides data for the RowContextMenuStripNeeded event.

DataGridViewRowDividerDouble
ClickEventArgs

Provides data for the RowDividerDoubleClick event of


aDataGridView.

DataGridViewRowErrorTextNeed
edEventArgs

Provides data for the RowErrorTextNeeded event of


a DataGridViewcontrol.

DataGridViewRowEventArgs

Provides data for row-related DataGridView events.

DataGridViewRowHeaderCell

Represents a row header of a DataGridView control.

DataGridViewRowHeaderCell.Da
taGridViewRowHeaderCellAcces
sibleObject

Provides information about a DataGridViewRowHeaderCell to


accessibility client applications.

DataGridViewRowHeightInfoNee
dedEventArgs

Provides data for the RowHeightInfoNeeded event of


aDataGridView.

DataGridViewRowHeightInfoPus
hedEventArgs

Provides data for the RowHeightInfoPushed event of


a DataGridView.

DataGridViewRowPostPaintEven
tArgs

Provides data for the RowPostPaint event.

DataGridViewRowPrePaintEvent
Args

Provides data for the RowPrePaint event.

DataGridViewRowsAddedEvent
Args

Provides data for the RowsAdded event.

DataGridViewRowsRemovedEve
ntArgs

Provides data for the RowsRemoved event.

DataGridViewRowStateChanged
EventArgs

Provides data for the RowStateChanged event of


a DataGridView.

DataGridViewSelectedCellCollect
ion

Represents a collection of cells that are selected in


a DataGridView.

DataGridViewSelectedColumnCo
llection

Represents a collection of DataGridViewColumn objects that are


selected in a DataGridView.

DataGridViewSelectedRowCollec

Represents a collection of DataGridViewRow objects that are

tion

selected in a DataGridView.

DataGridViewSortCompareEvent
Args

Provides data for the SortCompare event.

DataGridViewTextBoxCell

Displays editable text information in a DataGridView control.

DataGridViewTextBoxColumn

Hosts a collection of DataGridViewTextBoxCell cells.

DataGridViewTextBoxEditingCo
ntrol

Represents a text box control that can be hosted in


aDataGridViewTextBoxCell.

DataGridViewTopLeftHeaderCell

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
.DataGridViewTopLeftHeaderCel
lAccessibleObject

Provides information about


a DataGridViewTopLeftHeaderCell to accessibility client
applications.

DataObject

Implements a basic data transfer mechanism.

DateBoldEventArgs

Infrastructure. Provides data for events that are internal to


theMonthCalendar control.

DateRangeEventArgs

Provides data for the DateChanged or DateSelected events of


theMonthCalendar control.

DateTimePicker

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.DateTimePicker
AccessibleObject

Infrastructure. Provides information about


the DateTimePicker control to accessibility client applications.

DockingAttribute

Specifies the default docking behavior for a control.

DomainUpDown

Represents a Windows spin box (also known as an up-down


control) that displays string values.

DomainUpDown.DomainItemAcc
essibleObject

Infrastructure. Provides information about the items in


theDomainUpDown control to accessibility client applications.

DomainUpDown.DomainUpDow
nAccessibleObject

Infrastructure. Provides information about


the DomainUpDowncontrol to accessibility client applications.

DomainUpDown.DomainUpDow
nItemCollection

Encapsulates a collection of objects for use by


the DomainUpDownclass.

DragEventArgs

Provides data for the DragDrop, DragEnter, or DragOver event.

DrawItemEventArgs

Provides data for the DrawItem event.

DrawListViewColumnHeaderEve
ntArgs

Provides data for the ListView.DrawColumnHeader event.

DrawListViewItemEventArgs

Provides data for the ListView.DrawItem event.

DrawListViewSubItemEventArgs

Provides data for the ListView.DrawSubItem event.

DrawToolTipEventArgs

Provides data for the ToolTip.Draw event.

DrawTreeNodeEventArgs

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

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

Represents an entry in a FileDialog custom place collection for


Windows Vista.

FileDialogCustomPlacesCollectio
n

Represents a collection of Windows Vista custom places for


theFileDialog class.

FlatButtonAppearance

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

Provides data for the FormClosed event.

FormClosingEventArgs

Provides data for the FormClosing event.

FormCollection

Represents a collection of Form objects.

GiveFeedbackEventArgs

Provides data for the GiveFeedback event, which occurs during a


drag operation.

GridColumnStylesCollection

Represents a collection of DataGridColumnStyle objects in


theSystem.Windows.Forms.DataGrid control.

GridItem

Implements one row in a PropertyGrid.

GridItemCollection

Contains a collection of GridItem objects.

GridTablesFactory

Infrastructure. Provides the CreateGridTables method.

GridTableStylesCollection

Represents a collection of DataGridTableStyle objects in


the DataGridcontrol.

GroupBox

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

Allows a custom control to prevent the MouseWheel event from


being sent to its parent container.

Help

Encapsulates the HTML Help 1.0 engine.

HelpEventArgs

Provides data for the HelpRequested event.

HelpProvider

Provides pop-up or online Help for controls.

HScrollBar

Represents a standard Windows horizontal scroll bar.

HScrollProperties

Provides basic properties for the HScrollBar

HtmlDocument

Provides top-level programmatic access to an HTML document


hosted by the WebBrowser control.

HtmlElement

Represents an HTML element inside of a Web page.

HtmlElementCollection

Defines a collection of HtmlElement objects.

HtmlElementErrorEventArgs

Provides data for the Error event.

HtmlElementEventArgs

Provides data for the events defined


on HtmlDocument andHtmlElement.

HtmlHistory

Manages the list of documents and Web sites the user has visited
within the current session.

HtmlWindow

Represents the logical window that contains one or more


instances of HtmlDocument.

HtmlWindowCollection

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

Provides methods to manage a collection of Image objects. This


class cannot be inherited.

ImageList.ImageCollection

Encapsulates the collection of Image objects in an ImageList.

ImageListStreamer

Provides the data portion of an ImageList.

ImeContext

Infrastructure. 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.

InputLanguageChangedEventArg
s

Provides data for the InputLanguageChanged event.

InputLanguageChangingEventArg
s

Provides data for the InputLanguageChanging event.

InputLanguageCollection

Stores InputLanguage objects.

InvalidateEventArgs

Provides data for the Invalidated event.

ItemChangedEventArgs

Provides data for the ItemChanged event.

ItemCheckedEventArgs

Provides data for the ItemChecked event of the ListView control.

ItemCheckEventArgs

Provides data for the ItemCheck event of


the CheckedListBox andListView controls.

ItemDragEventArgs

Provides data for the ItemDrag event of


the ListView and TreeViewcontrols.

KeyEventArgs

Provides data for the KeyDown or KeyUp event.

KeyPressEventArgs

Provides data for the KeyPress event.

KeysConverter

Provides a TypeConverter to convert Keys objects to and from


other representations.

Label

Represents a standard Windows label.

LabelEditEventArgs

Provides data for


the ListView.BeforeLabelEdit andListView.AfterLabelEdit event
s.

LayoutEventArgs

Provides data for the Layout event. This class cannot be


inherited.

LayoutSettings

Provides a base class for collecting layout scheme characteristics.

LinkArea.LinkAreaConverter

Provides a type converter to


convert LinkArea.LinkAreaConverterobjects to and from various
other representations.

LinkClickedEventArgs

Provides data for the LinkClicked event.

LinkConverter

Provides a type converter for LinkLabel.Link objects.

LinkLabel

Represents a Windows label control that can display hyperlinks.

LinkLabel.Link

Represents a link within a LinkLabel control.

LinkLabel.LinkCollection

Represents the collection of links within a LinkLabel control.

LinkLabelLinkClickedEventArgs

Provides data for the LinkClicked event.

ListBindingConverter

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

Represents a Windows control to display a list of items.

ListBox.IntegerCollection

Represents a collection of integers in a ListBox.

ListBox.ObjectCollection

Represents the collection of items in a ListBox.

ListBox.SelectedIndexCollection

Represents the collection containing the indexes to the selected


items in a ListBox.

ListBox.SelectedObjectCollection

Represents the collection of selected items in the ListBox.

ListControl

Provides a common implementation of members for


the ListBox andComboBox classes.

ListControlConvertEventArgs

Provides data for the Format event.

ListView

Represents a Windows list view control, which displays a


collection of items that can be displayed using one of four
different views.

ListView.CheckedIndexCollectio
n

Represents the collection containing the indexes to the checked


items in a list view control.

ListView.CheckedListViewItemC
ollection

Represents the collection of checked items in a list view control.

ListView.ColumnHeaderCollectio
n

Represents the collection of column headers in


a ListView control.

ListView.ListViewItemCollection

Represents the collection of items in a ListView control or


assigned to a ListViewGroup.

ListView.SelectedIndexCollection

Represents the collection that contains the indexes to the selected


items in a ListView control.

ListView.SelectedListViewItemC
ollection

Represents the collection of selected items in a list view control.

ListViewGroup

Represents a group of items displayed within a ListView control.

ListViewGroupCollection

Represents the collection of groups within a ListView control.

ListViewHitTestInfo

Contains information about an area of a ListView control or


aListViewItem.

ListViewInsertionMark

Used to indicate the expected drop location when an item is


dragged to a new position in a ListView control. This
functionality is available only on Windows XP and later.

ListViewItem

Represents an item in a ListView control.

ListViewItem.ListViewSubItem

Represents a subitem of a ListViewItem.

ListViewItem.ListViewSubItemC
ollection

Represents a collection
of ListViewItem.ListViewSubItem objects stored in
a ListViewItem.

ListViewItemConverter

Provides a type converter to convert ListViewItem objects to and


from various other representations.

ListViewItemMouseHoverEventA
rgs

Provides data for the ItemMouseHover event.

ListViewItemSelectionChangedE
ventArgs

Provides data for the ItemSelectionChanged event.

ListViewVirtualItemsSelectionRa
ngeChangedEventArgs

Provides data for the VirtualItemsSelectionRangeChanged event.

MainMenu

Represents the menu structure of a form.


Although MenuStripreplaces 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

Provides data for the MaskInputRejected event.

MdiClient

Represents the container for multiple-document interface (MDI)


child forms. This class cannot be inherited.

MdiClient.ControlCollection

Contains a collection of MdiClient controls.

MeasureItemEventArgs

Provides data for the MeasureItem event of


the ListBox, ComboBox,CheckedListBox,
and MenuItem controls.

Menu

Represents the base functionality for all menus.


AlthoughToolStripDropDown and ToolStripDropDownMenu rep
lace 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

Represents a collection of MenuItem objects.

MenuItem

Represents an individual item that is displayed within


a MainMenu orContextMenu.
Although ToolStripMenuItem replaces and adds functionality to
the MenuItem control of previous versions, MenuItemis retained
for both backward compatibility and future use if you choose.

MenuStrip

Provides a menu system for a form.

MessageBox

Displays a message box that can contain text, buttons, and


symbols that inform and instruct the user.

MonthCalendar

Represents a Windows control that enables the user to select a


date using a visual monthly calendar display.

MonthCalendar.HitTestInfo

Contains information about an area of a MonthCalendar control.


This class cannot be inherited.

MouseEventArgs

Provides data for the MouseUp, MouseDown,


and MouseMoveevents.

NativeWindow

Provides a low-level encapsulation of a window handle and a


window procedure.

NavigateEventArgs

Provides data for the Navigate event.

NodeLabelEditEventArgs

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

Represents a Windows spin box (also known as an up-down


control) that displays numeric values.

NumericUpDownAcceleration

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.

NumericUpDownAccelerationCol
lection

Represents a sorted collection


of NumericUpDownAccelerationobjects in
the NumericUpDown control.

OpacityConverter

Provides a type converter to convert opacity values to and from a


string.

OpenFileDialog

Prompts the user to open a file. This class cannot be inherited.

OSFeature

Provides operating-system specific feature queries.

OwnerDrawPropertyBag

Infrastructure. Contains values of properties that a component


might need only occasionally.

PaddingConverter

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

Provides data for the Paint event.

Panel

Used to group collections of controls.

PictureBox

Represents a Windows picture box control for displaying an


image.

PopupEventArgs

Provides data for the ToolTip.Popup event.

PowerStatus

Indicates current system power status information.

PreviewKeyDownEventArgs

Provides data for the PreviewKeyDown event.

PrintControllerWithStatusDialog

Controls how a document is printed from a Windows Forms


application.

PrintDialog

Lets users select a printer and choose which sections of the


document to print from a Windows Forms application.

PrintPreviewControl

Represents the raw preview part of print previewing from a


Windows Forms application, without any dialog boxes or
buttons. MostPrintPreviewControl objects are found
on PrintPreviewDialog objects, but they do not have to be.

PrintPreviewDialog

Represents a dialog box form that contains


a PrintPreviewControl for printing from a Windows Forms
application.

ProfessionalColors

Provides Color structures that are colors of a Windows display


element. This class cannot be inherited.

ProfessionalColorTable

Provides colors used for Microsoft Office display elements.

ProgressBar

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.PropertyTabCollecti
on

Contains a collection of PropertyTab objects.

PropertyManager

Maintains a Binding between an object's property and a databound control property.

PropertyTabChangedEventArgs

Provides data for the PropertyTabChanged event of


a PropertyGrid.

PropertyValueChangedEventArgs

Provides data for the PropertyValueChanged event of


a PropertyGrid.

QueryAccessibilityHelpEventArg
s

Provides data for the QueryAccessibilityHelp event.

QueryContinueDragEventArgs

Provides data for the QueryContinueDrag event.

QuestionEventArgs

Provides data for events that need a true or false answer to a


question.

RadioButton

Enables the user to select a single option from a group of choices


when paired with other RadioButton controls.

RadioButton.RadioButtonAccessi
bleObject

Infrastructure. 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

Indicates which ImageList a property is related to.

RetrieveVirtualItemEventArgs

Provides data for the RetrieveVirtualItem event.

RichTextBox

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.DockPaddingE
dges

Determines the border padding for docked controls.

ScrollableControl.DockPaddingE
dgesConverter

Infrastructure. A TypeConverter for


theScrollableControl.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

Provides data for the Scroll event.

ScrollProperties

Encapsulates properties related to scrolling.

SearchForVirtualItemEventArgs

Provides data for the SearchForVirtualItem event.

SelectedGridItemChangedEventA
rgs

Provides data for the SelectedGridItemChanged event of


thePropertyGrid control.

SelectionRange

Represents a date selection range in a month calendar control.

SelectionRangeConverter

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 has been replaced by SplitContainer and
is provided only for compatibility with previous versions.

SplitterCancelEventArgs

Provides data for splitter events.

SplitterEventArgs

Provides data for SplitterMoving and the SplitterMoved events.

SplitterPanel

Creates a panel that is associated with a SplitContainer.

StatusBar

Represents a Windows status bar control.


AlthoughToolStripStatusLabel replaces and adds functionality to
the StatusBarcontrol of previous versions, StatusBar is retained
for both backward compatibility and future use if you choose.

StatusBar.StatusBarPanelCollecti
on

Represents the collection of panels in a StatusBar control.

StatusBarDrawItemEventArgs

Provides data for the DrawItem event.

StatusBarPanel

Represents a panel in a StatusBar control. Although


the StatusStripcontrol 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

Provides data for the PanelClick event.

StatusStrip

Represents a Windows status bar control.

SystemInformation

Provides information about the current system environment.

TabControl

Manages a related set of tab pages.

TabControl.ControlCollection

Contains a collection of Control objects.

TabControl.TabPageCollection

Contains a collection of TabPage objects.

TabControlCancelEventArgs

Provides data for the Selecting and Deselecting events of


aTabControl control.

TabControlEventArgs

Provides data for the Selected and Deselected events of


aTabControl control.

TableLayoutCellPaintEventArgs

Provides data for the CellPaint event.

TableLayoutColumnStyleCollecti
on

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

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

Represents a single tab page in a TabControl.

TabPage.TabPageControlCollecti
on

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

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

Infrastructure. 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.


This timer is optimized for use in Windows Forms applications
and must be used in a window.

ToolBar

Represents a Windows 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

Encapsulates a collection of ToolBarButton controls for use by


theToolBar class.

ToolBarButton

Represents a Windows toolbar button.


Although ToolStripButtonreplaces and extends
the ToolBarButton control of previous versions,ToolBarButton is
retained for both backward compatibility and future use if you
choose.

ToolBarButtonClickEventArgs

Provides data for the ButtonClick event.

ToolStrip

Provides a container for Windows toolbar objects.

ToolStrip.ToolStripAccessibleObj
ect

Provides information that accessibility applications use to adjust


the user interface of a ToolStrip for users with impairments.

ToolStripArrowRenderEventArgs

Provides data for the RenderArrow event.

ToolStripButton

Represents a selectable ToolStripItem that can contain text and


images.

ToolStripComboBox

Represents a ToolStripComboBox that is properly rendered in


aToolStrip.

ToolStripContainer

Provides panels on each side of the form and a central panel that
can hold one or more controls.

ToolStripContentPanel

Represents the center panel of a ToolStripContainer control.

ToolStripContentPanelRenderEve
ntArgs

Provides data for the RendererChanged event.

ToolStripControlHost

Hosts custom controls or Windows Forms controls.

ToolStripDropDown

Represents a control that allows the user to select a single item


from a list that is displayed when the user clicks
aToolStripDropDownButton.
Although ToolStripDropDownMenu andToolStripDropDown rep
lace and add functionality to the Menucontrol of previous
versions, Menu is retained for both backward compatibility and
future use if you choose.

ToolStripDropDown.ToolStripDr
opDownAccessibleObject

Provides information about the ToolStripDropDown control to


accessibility client applications.

ToolStripDropDownButton

Represents a control that when clicked displays an


associatedToolStripDropDown from which the user can select a
single item.

ToolStripDropDownClosedEvent
Args

Provides data for the Closed event.

ToolStripDropDownClosingEvent
Args

Provides data for the Closing event.

ToolStripDropDownItem

Provides basic functionality for controls that display


aToolStripDropDown when
a ToolStripDropDownButton,ToolStripMenuItem,
or ToolStripSplitButton control is clicked.

ToolStripDropDownItemAccessib
leObject

Provides information that accessibility applications use to adjust


the user interface of a ToolStripDropDown for users with
impairments.

ToolStripDropDownMenu

Provides basic functionality for the ContextMenuStrip control.


Although ToolStripDropDownMenu and ToolStripDropDown re
place and add functionality to the Menu control of previous
versions, Menuis retained for both backward compatibility and
future use if you choose.

ToolStripGripRenderEventArgs

Provides data for the RenderGrip event.

ToolStripItem

Represents the abstract base class that manages events and layout
for all the elements that a ToolStrip or ToolStripDropDown can
contain.

ToolStripItem.ToolStripItemAcce
ssibleObject

Provides information that accessibility applications use to adjust


the user interface of a ToolStripItem for users with impairments.

ToolStripItemClickedEventArgs

Provides data for the ItemClicked event.

ToolStripItemCollection

Represents a collection of ToolStripItem objects.

ToolStripItemEventArgs

Provides data for ToolStripItem events.

ToolStripItemImageRenderEvent
Args

Provides data for the RenderItemImage event.

ToolStripItemRenderEventArgs

Provides data for the events that render the background of


objects derived from ToolStripItem in
the ToolStripRenderer class.

ToolStripItemTextRenderEventAr
gs

Provides data for the RenderItemText event.

ToolStripLabel

Represents a nonselectable ToolStripItem that renders text and


images and can display hyperlinks.

ToolStripManager

Controls ToolStrip rendering and rafting, and the merging


ofMenuStrip, ToolStripDropDownMenu,
and ToolStripMenuItemobjects. This class cannot be inherited.

ToolStripMenuItem

Represents a selectable option displayed on


a MenuStrip orContextMenuStrip.
Although ToolStripMenuItem replaces and adds functionality to
the MenuItem control of previous versions, MenuItemis retained
for both backward compatibility and future use if you choose.

ToolStripOverflow

Manages the overflow behavior of a ToolStrip.

ToolStripOverflowButton

Hosts a ToolStripDropDown that displays items that overflow


theToolStrip.

ToolStripPanel

Creates a container within which other controls can share


horizontal or vertical space.

ToolStripPanel.ToolStripPanelRo
wCollection

Represents all the ToolStripPanelRow objects in


a ToolStripPanel.

ToolStripPanelRenderEventArgs

Provides data for ToolStripPanel drawing.

ToolStripPanelRow

Represents a row of a ToolStripPanel that can contain controls.

ToolStripProfessionalRenderer

Handles the painting functionality for ToolStrip objects, applying


a custom palette and a streamlined style.

ToolStripProgressBar

Represents a Windows progress bar control contained in


aStatusStrip.

ToolStripRenderer

Handles the painting functionality for ToolStrip objects.

ToolStripRenderEventArgs

Provides data for


the ToolStripRenderer.OnRenderImageMargin,ToolStripRendere
r.OnRenderToolStripBorder,
andToolStripRenderer.OnRenderToolStripBackground methods.

ToolStripSeparator

Represents a line used to group items of a ToolStrip or the dropdown items of a MenuStrip or ContextMenuStrip or
otherToolStripDropDown control.

ToolStripSeparatorRenderEventA
rgs

Provides data for the RenderGrip event.

ToolStripSplitButton

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.ToolStripSpl
itButtonAccessibleObject

Provides information that accessibility applications use to adjust


the user interface of a ToolStripSplitButton for users with
impairments.

ToolStripStatusLabel

Represents a panel in a StatusStrip control.

ToolStripSystemRenderer

Handles the painting functionality for ToolStrip objects, using


system colors and a flat visual style.

ToolStripTextBox

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

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

Represents a node of a TreeView.

TreeNodeCollection

Represents a collection of TreeNode objects.

TreeNodeConverter

Provides a type converter to convert TreeNode objects to and


from various other representations.

TreeNodeMouseClickEventArgs

Provides data for


the NodeMouseClick and NodeMouseDoubleClickevents.

TreeNodeMouseHoverEventArgs

Provides data for the NodeMouseHover event.

TreeView

Displays a hierarchical collection of labeled items, each


represented by a TreeNode.

TreeViewCancelEventArgs

Provides data for


the BeforeCheck, BeforeCollapse, BeforeExpand,
and BeforeSelect events of a TreeView control.

TreeViewEventArgs

Provides data for the AfterCheck, AfterCollapse, AfterExpand,


orAfterSelect events of a TreeView control.

TreeViewHitTestInfo

Contains information about an area of a TreeView control or


aTreeNode.

TreeViewImageIndexConverter

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

Provides data for the TypeValidationCompleted event.

UICuesEventArgs

Provides data for the ChangeUICues event.

UpDownBase

Implements the basic functionality required by a spin box (also


known as an up-down control).

UpDownEventArgs

Infrastructure. Provides data for controls that derive from


theUpDownBase control.

UserControl

Provides an empty control that can be used to create other


controls.

VScrollBar

Represents a standard Windows vertical scroll bar.

VScrollProperties

Provides basic properties for the VScrollBar class.

WebBrowser

Enables the user to navigate Web pages inside your form.

WebBrowser.WebBrowserSite

Represents the host window of a WebBrowser control.

WebBrowserBase

Infrastructure. Provides a wrapper for a generic ActiveX control


for use as a base class by the WebBrowser control.

WebBrowserDocumentCompleted
EventArgs

Provides data for the WebBrowser.DocumentCompleted event.

WebBrowserNavigatedEventArgs

Provides data for the WebBrowser.Navigated event.

WebBrowserNavigatingEventArg
s

Provides data for the WebBrowser.Navigating event.

WebBrowserProgressChangedEve
ntArgs

Provides data for the WebBrowser.ProgressChanged event.

WebBrowserSiteBase

Infrastructure. Implements the interfaces of an ActiveX site for


use as a base class by
theSystem.Windows.Forms.WebBrowser.WebBrowserSite class.

WindowsFormsSection

Defines a new ConfigurationSection for parsing application


settings. This class cannot be inherited.

WindowsFormsSynchronizationC
ontext

Provides a synchronization context for the Windows Forms


application model.

Structures
Structure

Description

BindingMemberInfo

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

Infrastructure. Helper class that provides information about


the IME conversion mode.

LinkArea

Represents an area within a LinkLabel control that represents


a hyperlink within the control.

Message

Implements a Windows message.

Padding

Represents padding or margin information associated with a


user interface (UI) element.

TableLayoutPanelCellPosition

Represents a cell in a TableLayoutPanel.

Interfaces
Interface

Description

IBindableComponent

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

Infrastructure. Defines a method that


executes a certain action on the type that

implements this interface.

IComponentEditorPageSite

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

Infrastructure. Represents methods that


process editing requests.

IDataGridViewEditingCell

Defines common functionality for a cell


that allows the manipulation of its value.

IDataGridViewEditingControl

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

Infrastructure. Defines a method that opens


a file from the current directory.

IMessageFilter

Defines a message filter interface.

IWin32Window

Provides an interface to expose Win32


HWND handles.

IWindowTarget

Infrastructure. Defines the communication


layer between a control and the Win32 API.

Delegates
Delegate

Description

Application.MessageLoopCallba
ck

Represents a method that will check whether the hosting


environment is still sending messages.

AxHost.AboutBoxDelegate

Represents the method that will display an ActiveX


control's About dialog box.

BindingCompleteEventHandler

Represents the method that will handle


the BindingComplete event in data-binding scenarios.

BindingManagerDataErrorEvent

Represents the method that will handle

Handler

the DataError event of a BindingManagerBase.

CacheVirtualItemsEventHandler

Represents the method that will handle


the CacheVirtualItems event of a ListView.

ColumnClickEventHandler

Represents the method that will handle


the ColumnClick event of a ListView.

ColumnReorderedEventHandler

Represents the method that will handle


the ColumnReordered event of the ListView control.

ColumnWidthChangedEventHan
dler

Represents the method that will handle


the ColumnWidthChanged event of a ListView.

ColumnWidthChangingEventHan
dler

Represents the method that will handle


the ColumnWidthChanging event of a ListView.

ContentsResizedEventHandler

Represents the method that will handle


the ContentsResized event of a RichTextBox.

ControlEventHandler

Represents the method that will handle


the ControlAdded and ControlRemoved events of
theControl class.

ConvertEventHandler

Represents the method that will handle


the Parse and Format events of a Binding.

DataGridViewAutoSizeColumn
ModeEventHandler

Represents the method that will handle


the AutoSizeColumnModeChanged event of
aDataGridView control.

DataGridViewAutoSizeColumns
ModeEventHandler

Represents the method that will handle


the AutoSizeColumnsModeChanged event of
aDataGridView control.

DataGridViewAutoSizeModeEve
ntHandler

Represents the method that will handle


the AutoSizeRowsModeChanged orRowHeadersWidthSiz
eModeChanged events of a DataGridView.

DataGridViewBindingCompleteE
ventHandler

Represents the method that will handle


the DataBindingComplete event of a DataGridView.

DataGridViewCellCancelEventH
andler

Represents the method that will handle


the CellBeginEdit and RowValidating events of
aDataGridView.

DataGridViewCellContextMenuS
tripNeededEventHandler

Represents the method that will handle


a CellContextMenuStripNeeded event of aDataGridView.

DataGridViewCellErrorTextNeed
edEventHandler

Represents the method that will handle


the CellErrorTextNeeded event of a DataGridView.

DataGridViewCellEventHandler

Represents the method that will


handle DataGridView events related to cell and row
operations.

DataGridViewCellFormattingEve
ntHandler

Represents the method that will handle


the CellFormatting event of a DataGridView.

DataGridViewCellMouseEventH
andler

Represents the method that will handle mouse-related


events raised by a DataGridView.

DataGridViewCellPaintingEvent
Handler

Represents the method that will handle


the CellPainting event of a DataGridView.

DataGridViewCellParsingEventH
andler

Represents the method that will handle a CellParsing event


of a DataGridView.

DataGridViewCellStateChanged
EventHandler

Represents the method that will handle


the CellStateChanged event of a DataGridView.

DataGridViewCellStyleContentC
hangedEventHandler

Represents the method that will handle


the CellStyleContentChanged event of a DataGridView.

DataGridViewCellToolTipTextN
eededEventHandler

Represents the method that will handle


the CellToolTipTextNeeded event of a DataGridView.

DataGridViewCellValidatingEve
ntHandler

Represents the method that will handle


the CellValidating event of a DataGridView control.

DataGridViewCellValueEventHa
ndler

Represents the method that will handle


the CellValueNeeded event or CellValuePushed event of
a DataGridView.

DataGridViewColumnDividerDo
ubleClickEventHandler

Represents the method that will handle


the ColumnDividerDoubleClick event of aDataGridView.

DataGridViewColumnEventHand
ler

Represents the method that will handle column-related


events of a DataGridView.

DataGridViewColumnStateChan
gedEventHandler

Represents the method that will handle


the ColumnStateChanged event of a DataGridView.

DataGridViewDataErrorEventHa
ndler

Represents the method that will handle


the DataError event of a DataGridView.

DataGridViewEditingControlSho
wingEventHandler

Represents the method that will handle


the EditingControlShowing event of a DataGridView.

DataGridViewRowCancelEventH
andler

Represents the method that will handle


the UserDeletingRow event of a DataGridView.

DataGridViewRowContextMenu
StripNeededEventHandler

Represents the method that will handle


the RowContextMenuStripNeeded event of
aDataGridView.

DataGridViewRowDividerDoubl
eClickEventHandler

Represents the method that will handle


the RowDividerDoubleClick event of a DataGridView.

DataGridViewRowErrorTextNee
dedEventHandler

Represents the method that will handle


the RowErrorTextNeeded event of a DataGridView.

DataGridViewRowEventHandler

Represents the method that will handle row-related events


of a DataGridView.

DataGridViewRowHeightInfoNe

Represents the method that will handle

ededEventHandler

an RowHeightInfoNeeded event of
a DataGridViewcontrol.

DataGridViewRowHeightInfoPus
hedEventHandler

Represents the method that will handle


the RowHeightInfoPushed event of a DataGridView.

DataGridViewRowPostPaintEven
tHandler

Represents the method that will handle


the RowPostPaint event of a DataGridView.

DataGridViewRowPrePaintEvent
Handler

Represents the method that will handle


the RowPrePaint event of a DataGridView.

DataGridViewRowsAddedEvent
Handler

Represents the method that will handle


the RowsAdded event of a DataGridView.

DataGridViewRowsRemovedEve
ntHandler

Represents the method that will handle


the RowsRemoved event of a DataGridView.

DataGridViewRowStateChanged
EventHandler

Represents the method that will handle


the RowStateChanged event of a DataGridView.

DataGridViewSortCompareEvent
Handler

Represents the method that will handle


the SortCompare event of a DataGridView control.

DateBoldEventHandler

Infrastructure. Represents the method that will handle an


internal event of the MonthCalendarcontrol.

DateRangeEventHandler

Represents the method that will handle


the DateChanged or DateSelected event of
aMonthCalendar.

DragEventHandler

Represents the method that will handle


the DragDrop, DragEnter, or DragOver event of aControl.

DrawItemEventHandler

Represents the method that will handle


the DrawItem event of a ComboBox, ListBox,MenuItem,
or TabControl control.

DrawListViewColumnHeaderEve
ntHandler

Represents the method that will handle


the DrawColumnHeader event of a ListView.

DrawListViewItemEventHandler

Represents the method that will handle


the DrawItem event of a ListView.

DrawListViewSubItemEventHan
dler

Represents the method that will handle


the DrawSubItem event of a ListView.

DrawToolTipEventHandler

Represents the method that will handle the Draw event of


a ToolTip.

DrawTreeNodeEventHandler

Represents the method that will handle


the DrawNode event of a TreeView.

FormClosedEventHandler

Represents the method that handles a FormClosed event.

FormClosingEventHandler

Represents the method that handles a FormClosing event.

GiveFeedbackEventHandler

Represents the method that handles


the GiveFeedback event of a Control.

HelpEventHandler

Represents the method that will handle


the HelpRequested event of a Control.

HtmlElementErrorEventHandler

Represents the method that will handle the Error event of


an HtmlWindow.

HtmlElementEventHandler

Represents the method that will handle


the Click, MouseDown and related events
onHtmlDocument, HtmlElement, and HtmlWindow.

InputLanguageChangedEventHan
dler

Represents the method that will handle


the InputLanguageChanged event of a Form.

InputLanguageChangingEventHa
ndler

Represents the method that will handle


the InputLanguageChanging event of a Form.

InvalidateEventHandler

Represents the method that will handle


the Invalidated event of a Control.

ItemChangedEventHandler

Represents the method that will handle


the ItemChanged event of the CurrencyManager class.

ItemCheckedEventHandler

Represents the method that will handle


the ItemChecked event of a ListView control.

ItemCheckEventHandler

Represents the method that will handle


the ItemCheck event of
a CheckedListBox or ListViewcontrol.

ItemDragEventHandler

Represents the method that will handle the ItemDrag event


of a ListView or TreeView control.

KeyEventHandler

Represents the method that will handle


the KeyUp or KeyDown event of a Control.

KeyPressEventHandler

Represents the method that will handle the KeyPress event


of a Control.

LabelEditEventHandler

Represents the method that handles


the ListView.BeforeLabelEdit and ListView.AfterLabelEd
itevents.

LayoutEventHandler

Represents the method that will handle the Layout event


of a Control.

LinkClickedEventHandler

Represents the method that will handle


the LinkClicked event of a RichTextBox.

LinkLabelLinkClickedEventHan
dler

Represents the method that will handle


the LinkClicked event of a LinkLabel.

ListControlConvertEventHandler

Represents the method that will handle converting


a ListControl.

ListViewItemMouseHoverEvent
Handler

Represents the method that will handle


the ItemMouseHover event of a ListView.

ListViewItemSelectionChangedE
ventHandler

Represents the method that will handle


the ItemSelectionChanged event of a ListView.

ListViewVirtualItemsSelectionRa
ngeChangedEventHandler

Represents the method that will handle


the VirtualItemsSelectionRangeChanged event of
aListView.

MaskInputRejectedEventHandler

Represents the method that will handle


the MaskInputRejected event of a MaskedTextBoxcontrol.

MeasureItemEventHandler

Represents the method that will handle


the MeasureItem event of
the ListBox, ComboBox,CheckedListBox,
or MenuItem controls.

MethodInvoker

Represents a delegate that can execute any method in


managed code that is declared void and takes no
parameters.

MouseEventHandler

Represents the method that will handle


the MouseDown, MouseUp, or MouseMove event of a
form, control, or other component.

NavigateEventHandler

Represents the method that will handle


the NavigateEventArgs event of a DataGrid.

NodeLabelEditEventHandler

Represents the method that will handle


the BeforeLabelEdit and AfterLabelEdit events of
aTreeView control.

PaintEventHandler

Represents the method that will handle the Paint event of


a Control.

PopupEventHandler

Represents the method that handles the Popup event of


the ToolTip class.

PreviewKeyDownEventHandler

Represents the method that will handle


the PreviewKeyDown event for a control.

PropertyTabChangedEventHandl
er

Represents the method that will handle


the PropertyTabChanged event of a PropertyGrid.

PropertyValueChangedEventHan
dler

The event handler class that is invoked when a property in


the grid is modified by the user.

QueryAccessibilityHelpEventHa
ndler

Represents the method that will handle


the QueryAccessibilityHelp event of a control.

QueryContinueDragEventHandle
r

Represents the method that will handle


the QueryContinueDrag event of a Control.

QuestionEventHandler

Represents the method that will handle


the CancelRowEdit event or
the RowDirtyStateNeededevent of a DataGridView.

RetrieveVirtualItemEventHandler

Represents the method that will handle


the RetrieveVirtualItem event of a ListView.

ScrollEventHandler

Represents the method that handles the Scroll event of


a DataGridView, ScrollBar, TrackBar, or DataGrid.

SearchForVirtualItemEventHandl
er

Represents the method that will handle


the SearchForVirtualItem event of a ListView.

SelectedGridItemChangedEvent
Handler

Represents the method that will handle


the SelectedGridItemChanged event of a PropertyGrid.

SplitterCancelEventHandler

Represents the method that will handle


the SplitterMoving event of a Splitter.

SplitterEventHandler

Represents the method that will handle


the SplitterMoving and SplitterMoved events of aSplitter.

StatusBarDrawItemEventHandler

Represents the method that will handle


the DrawItem event of a StatusBar.

StatusBarPanelClickEventHandle
r

Represents the method that will handle


the PanelClick event of a StatusBar.

TabControlCancelEventHandler

Represents the method that will handle


the Selecting or Deselecting event of a TabControlcontrol.

TabControlEventHandler

Represents the method that will handle


the Selected or Deselected event of a TabControlcontrol.

TableLayoutCellPaintEventHandl
er

Represents the method that will handle


the CellPaint event.

ToolBarButtonClickEventHandle
r

Represents the method that will handle


the ButtonClick event of a ToolBar.

ToolStripArrowRenderEventHan
dler

Represents the method that will handle


the RenderArrow event of a ToolStripRenderer. This class
cannot be inherited.

ToolStripContentPanelRenderEv
entHandler

Represents the method that will handle


the RendererChanged event of aToolStripContentPanel.

ToolStripDropDownClosedEvent
Handler

Represents the method that will handle the Closed event of


a ToolStripDropDown.

ToolStripDropDownClosingEven
tHandler

Represents the method that handles the Closing event of


a ToolStripDropDown.

ToolStripGripRenderEventHandl
er

Represents the method that will handle


the RenderGrip event of a ToolStripRenderer.

ToolStripItemClickedEventHandl
er

Represents the method that will handle


the ItemClicked event of a ToolStripItem.

ToolStripItemEventHandler

Represents the method that will handle events for

a ToolStripItem.

ToolStripItemImageRenderEvent
Handler

Represents the method that will handle


the RenderItemImage event or RenderItemCheck event of
a ToolStripRenderer.

ToolStripItemRenderEventHandl
er

Represents the method that handles the events that render


the background of objects derived from ToolStripItem in
the ToolStripRenderer class.

ToolStripItemTextRenderEventH
andler

Infrastructure. Represents the method that will handle


the RenderItemText event of aToolStripRenderer.

ToolStripPanelRenderEventHand
ler

Represents the method that will


handle ToolStripPanel paint events.

ToolStripRenderEventHandler

Represents the method that will handle


the RenderToolStripBorder event or
theRenderToolStripBackground event of
a ToolStripRenderer.

ToolStripSeparatorRenderEventH
andler

Represents the method that will handle


the RenderSeparator event of a ToolStripRendererclass.

TreeNodeMouseClickEventHand
ler

Represents the method that will handle


the NodeMouseClick and NodeMouseDoubleClickevents
of a TreeView.

TreeNodeMouseHoverEventHan
dler

Represents the method that will handle


the NodeMouseHover event of a TreeView.

TreeViewCancelEventHandler

Represents the method that will handle


the BeforeCheck, BeforeCollapse, BeforeExpand,
orBeforeSelect event of a TreeView.

TreeViewEventHandler

Represents the method that will handle


the AfterCheck, AfterCollapse, AfterExpand,
orAfterSelect event of a TreeView.

TypeValidationEventHandler

Represents the method that will handle


the TypeValidationCompleted event of
theMaskedTextBox control.

UICuesEventHandler

Represents a method that will handle


the ChangeUICues event of a Control.

UpDownEventHandler

Infrastructure. Represents the method that will handle an


event for an internal class.

WebBrowserDocumentComplete
dEventHandler

Represents the method that will handle


the WebBrowser.DocumentCompleted event of
aWebBrowser control.

WebBrowserNavigatedEventHan
dler

Represents the method that will handle


the WebBrowser.Navigated event of
a WebBrowsercontrol.

WebBrowserNavigatingEventHa
ndler

Represents the method that will handle


the WebBrowser.Navigating event of

a WebBrowsercontrol.

WebBrowserProgressChangedEv
entHandler

Represents the method that will handle


the WebBrowser.ProgressChanged event of
aWebBrowser control.

Enumerations
Enumeration

Description

AccessibleEvents

Specifies events that are reported by accessible applications.

AccessibleNavigati
on

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.

ArrangeStartingPosi
tion

Specifies the starting position that the system uses to arrange minimized
windows.

ArrowDirection

Specifies the direction to move when getting items with


the GetNextItem method.

AutoCompleteMode

Specifies the mode for the automatic completion feature used in


the ComboBox and TextBox controls.

AutoCompleteSourc
e

Specifies the source for ComboBox and TextBox automatic completion


functionality.

AutoScaleMode

Specifies the different types of automatic scaling modes supported by


Windows Forms.

AutoSizeMode

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.ActiveXInv
okeKind

Specifies the type of member that referenced the ActiveX control while it
was in an invalid state.

BatteryChargeStatu
s

Defines identifiers that indicate the current battery charge level or charging
state information.

BindingCompleteC
ontext

Specifies the direction of the binding operation.

BindingCompleteSt
ate

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

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

Specifies the number of colors used to display an image in


an ImageList control.

ColumnHeaderAuto
ResizeStyle

Specifies how a column contained in a ListView should be resized.

ColumnHeaderStyle

Specifies the styles of the column headers in a ListView control.

ComboBoxStyle

Specifies the ComboBox style.

ControlStyles

Specifies the style and behavior of a control.

ControlUpdateMod
e

Determines when changes to a data source value get propagated to the


corresponding data-bound control property.

DataGrid.HitTestTy
pe

Specifies the part of the System.Windows.Forms.DataGrid control the user


has clicked.

DataGridLineStyle

Specifies the style of gridlines in a System.Windows.Forms.DataGrid.

DataGridParentRow
sLabelStyle

Specifies how the parent row labels of a DataGrid control are displayed.

DataGridViewAdva
ncedCellBorderStyl

Specifies the border styles that can be applied to the cells of


a DataGridView control.

DataGridViewAuto
SizeColumnMode

Defines values for specifying how the width of a column is adjusted.

DataGridViewAuto
SizeColumnsMode

Defines values for specifying how the widths of columns are adjusted.

DataGridViewAuto
SizeRowMode

Defines values for specifying how the height of a row is adjusted.

DataGridViewAuto
SizeRowsMode

Defines values for specifying how the heights of rows are adjusted.

DataGridViewCellB
orderStyle

Specifies the border styles that can be applied to the cells of


a DataGridView control.

DataGridViewCellS
tyleScopes

Specifies the DataGridView entity that owns the cell style that was changed.

DataGridViewClipb
oardCopyMode

Defines constants that indicate whether content is copied from


a DataGridView control to the Clipboard.

DataGridViewColu
mnHeadersHeightSi
zeMode

Defines values for specifying how the height of the column headers is
adjusted.

DataGridViewColu
mnSortMode

Defines how a DataGridView column can be sorted by the user.

DataGridViewCom
boBoxDisplayStyle

Defines constants that indicate how a DataGridViewComboBoxCell is


displayed.

DataGridViewCont
entAlignment

Defines constants that indicate the alignment of content within


a DataGridView cell.

DataGridViewData
ErrorContexts

Represents the state of a data-bound DataGridView control when a data error


occurred.

DataGridViewEdit
Mode

Specifies how a user starts cell editing in the DataGridView control.

DataGridViewElem
entStates

Specifies the user interface (UI) state of a element within


a DataGridView control.

DataGridViewHead
erBorderStyle

Specifies the border style that can be applied to


the ColumnHeadersBorderStyle andRowHeadersBorderStyle properties of
a DataGridView control.

DataGridViewHitTe
stType

Specifies a location in a DataGridView control.

DataGridViewImag
eCellLayout

Specifies the layout for an image contained in a DataGridViewCell.

DataGridViewPaint
Parts

Defines values for specifying the parts of a DataGridViewCell that are to be


painted.

DataGridViewRow
HeadersWidthSize
Mode

Defines values for specifying how the row header width is adjusted.

DataGridViewSelec
tionMode

Describes how cells of a DataGridView control can be selected.

DataGridViewTriSt
ate

Defines values for specifying one of three possible states.

DataSourceUpdate
Mode

Specifies when a data source is updated when changes occur in the bound
control.

DateTimePickerFor
mat

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

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

Specifies that SplitContainer.Panel1, SplitContainer.Panel2, or neither panel


is fixed.

FlatStyle

Specifies the appearance of a control.

FlowDirection

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.

GetChildAtPointSki
p

Specifies which child controls to skip.

GridItemType

Specifies the valid grid item types for a PropertyGrid.

HelpNavigator

Specifies constants indicating which elements of the Help file to display.

HorizontalAlignme
nt

Specifies how an object or text in a control is horizontally aligned relative to


an element of the control.

HtmlElementInserti
onOrientation

Defines values that describe where to insert a new element when


using InsertAdjacentElement.

ImageLayout

Specifies the position of the image on the control.

ImeMode

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

Specifies the behaviors of a link in a LinkLabel.

LinkState

Infrastructure. Specifies constants that define the state of the link.

ListViewAlignment

Specifies how items align in the ListView.

ListViewHitTestLo
cations

Defines constants that represent areas in a ListView or ListViewItem.

ListViewItemStates

Defines constants that represent the possible states of a ListViewItem.

MaskFormat

Defines how to format the text inside of a MaskedTextBox.

MdiLayout

Specifies the layout of multiple document interface (MDI) child windows in


an MDI parent window.

MenuGlyph

Specifies the image to draw when drawing a menu with


the ControlPaint.DrawMenuGlyph method.

MenuMerge

Specifies the behavior of a MenuItem when it is merged with items in


another menu.

MergeAction

Specifies the kind of action to take if a match is found when combining menu
items on a ToolStrip.

MessageBoxButton
s

Specifies constants defining which buttons to display on a MessageBox.

MessageBoxDefault
Button

Specifies constants defining the default button on a MessageBox.

MessageBoxIcon

Specifies constants defining which information to display.

MessageBoxOption
s

Specifies options on a MessageBox.

MonthCalendar.Hit
Area

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.

PictureBoxSizeMod
e

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.

PreProcessControlS
tate

Provides options that specify the relationship between the control and
preprocessing messages.

ProgressBarStyle

Specifies the style that a ProgressBar uses to indicate the progress of an


operation.

PropertySort

Specifies how properties are sorted in the PropertyGrid.

RichTextBoxFinds

Specifies how a text search is carried out in a RichTextBox control.

RichTextBoxLangu
ageOptions

Provides RichTextBox settings for Input Method Editor (IME) and Asian
language support.

RichTextBoxScroll
Bars

Specifies the type of scroll bars to display in a RichTextBox control.

RichTextBoxSelecti
onAttribute

Specifies whether any characters in the current selection have the style or
attribute.

RichTextBoxSelecti
onTypes

Specifies the type of selection in a RichTextBox control.

RichTextBoxStream

Specifies the types of input and output streams used to load and save data in

Type

the RichTextBox control.

RichTextBoxWordP
unctuations

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

Specifies the type of action used to raise the Scroll event.

ScrollOrientation

Specifies the scroll bar orientation for the Scroll event.

SearchDirectionHin
t

Provides a directional hint of where to search for a ListViewItem.

SecurityIDType

Infrastructure. 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

Specifies the style of the sizing grip on a Form.

SizeType

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.

StatusBarPanelAuto
Size

Specifies how a StatusBarPanel on a StatusBar control behaves when the


control resizes.

StatusBarPanelBord
erStyle

Specifies the appearance of the border for a StatusBarPanel on


a StatusBar control.

StatusBarPanelStyle

Specifies whether a StatusBarPanel object on a StatusBar control is ownerdrawn or system-drawn.

StructFormat

Infrastructure. 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

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.

TableLayoutPanelC
ellBorderStyle

Specifies the border style of a cell in a table layout control.

TableLayoutPanelG
rowStyle

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

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

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.

ToolStripDropDow
nCloseReason

Specifies the reason that a ToolStripDropDown control was closed.

ToolStripDropDow
nDirection

Specifies the direction in which a ToolStripDropDown control is displayed


relative to its parent control.

ToolStripGripDispl
ayStyle

Specifies the orientation of the ToolStrip move handle (grip).

ToolStripGripStyle

Specifies visibility of a ToolStrip move handle (grip).

ToolStripItemAlign
ment

Determines the alignment of a ToolStripItem in a ToolStrip.

ToolStripItemDispl
ayStyle

Specifies what to render (image or text) for this ToolStripItem.

ToolStripItemImage
Scaling

Specifies whether the size of the image on a ToolStripItem is automatically


adjusted to fit on a ToolStripwhile retaining the original image proportions.

ToolStripItemOverf
low

Determines whether a ToolStripItem is placed in the overflow ToolStrip.

ToolStripItemPlace
ment

Specifies where a ToolStripItem is to be layed out.

ToolStripLayoutSty

Specifies the possible alignments with which the items of a ToolStrip can be

le

displayed.

ToolStripManagerR
enderMode

Specifies the painting style applied to multiple ToolStrip objects contained in


a form.

ToolStripRenderMo
de

Specifies the painting style applied to one ToolStrip contained in a form.

ToolStripStatusLab
elBorderSides

Specifies which sides of a ToolStripStatusLabel have borders.

ToolStripTextDirect
ion

Specifies the text orientation to use with a particular ToolStrip.LayoutStyle.

ToolTipIcon

Defines a set of standardized icons that can be associated with a ToolTip.

TreeNodeStates

Defines constants that represent the possible states of a TreeNode.

TreeViewAction

Specifies the action that raised a TreeViewEventArgs event.

TreeViewDrawMod
e

Defines constants that represent the ways a TreeView can be drawn.

TreeViewHitTestLo
cations

Defines constants that represent areas of a TreeView or TreeNode.

UICues

Specifies the state of the user interface.

UnhandledExceptio
nMode

Defines where a Windows Forms application should send unhandled


exceptions.

ValidationConstrain
ts

Defines constants that inform ValidateChildren about how it should


validate a container's child controls.

View

Specifies how list items are displayed in a ListView control.

WebBrowserEncryp
tionLevel

Specifies constants that define the encryption methods used by documents


displayed in the WebBrowsercontrol.

WebBrowserReady
State

Specifies constants that define the state of the WebBrowser control.

WebBrowserRefres
hOption

Specifies constants that define how the WebBrowser control can refresh its
contents.

Das könnte Ihnen auch gefallen