Export (0) Print
Expand All
Expand Minimize

System.Windows.Forms Namespace

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 classes in this namespace can be grouped into the following categories:

  • 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. To create a custom control that is a composite of other controls, use the UserControl class.
  • Controls. The System.Windows.Forms namespace provides a variety of control classes that allow you 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 and ListView. The namespace also provides controls for invoking commands within the application, such as Button and ToolBar. In addition, the PropertyGrid control can be used to create your own Windows Forms designer that displays the designer-visible properties of the controls.
  • Components. In addition to 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. Other classes, such as Menu, MenuItem, and ContextMenu, provide the ability display menus to the user to invoke commands within an application. The Help and HelpProvider classes enable you to display help information to the user of your applications.
  • Common Dialog Boxes. Windows provides a number of common dialog boxes that can be used 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 allows the user to browse to and enter the name of a file to open or save. The FontDialog class displays a dialog box to change elements of the Font object used by your application. The PageSetupDialog, PrintPreviewDialog, and PrintDialog classes display dialog boxes that allow the user to control aspects of printing documents. For more information on printing from a Windows-based application, see the System.Drawing.Printing namespace. In addition to 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 a number of classes within the System.Windows.Forms namespace that provide support to the classes mentioned in the preceding summary. Example of the supporting classes are enumerations, event argument classes, and delegates used by events within controls and components.

Note   To make your Windows Forms application support Windows XP visual styles, be sure to set the FlatStyle property of your controls to FlatStyle.System and include a manifest with your executable. A manifest is an XML file that is included either as a resource within your application executable or as a seperate 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 using the visual styles available in Windows XP, see the Using Windows XP Visual Styles in the User Interface Design and Development section of the MSDN Library.

Namespace hierarchy

Classes

Class Description
AccessibleObject Provides information that accessibility applications use to adjust an application's UI for users with impairments.
AmbientProperties Provides ambient property values to top-level controls.
Application Provides static (Shared in Visual Basic) 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.
AxHost Wraps ActiveX controls and exposes them as fully featured Windows Forms controls.
AxHost.InvalidActiveXStateException 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.
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.
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.
BindingsCollection Represents a collection of Binding objects for a control.
Button Represents a Windows button control.
ButtonBase Implements the basic functionality common to button controls.
CheckBox Represents a Windows check box.
CheckedListBox Displays a ListBox in which a check box is displayed to the left of each item.
CheckedListBox.
CheckedIndexCollection
Encapsulates the collection of indexes of checked items (including items in an indeterminate state) in a CheckedListBox.
CheckedListBox.
CheckedItemCollection
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 allow the user to define custom colors.
ColumnClickEventArgs Provides data for the ColumnClick event.
ColumnHeader Displays a single column header in a ListView control.
ComboBox Represents a Windows combo box control.
ComboBox.ObjectCollection Represents the collection of items in a ComboBox.
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.
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.
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 (Shared in Visual Basic), 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.
DataGrid.HitTestInfo Contains information about a part of the System.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 and text formatting and behavior of a System.Windows.Forms.DataGrid control column. This class is abstract.
DataGridPreferredColumnWidthTypeConverter Converts the value of an object to a different data type.
DataGridTableStyle Represents the table drawn by the System.Windows.Forms.DataGrid control at run time.
DataGridTextBox Represents a TextBox control that is hosted in a DataGridTextBoxColumn.
DataGridTextBoxColumn Hosts a TextBox control in a cell of a DataGridColumnStyle for editing strings.
DataObject Implements a basic data transfer mechanism.
DateRangeEventArgs Provides data for the DateChanged or DateSelected events of the MonthCalendar control.
DateTimePicker Represents a Windows date/time picker control.
DomainUpDown Represents a Windows up-down control that displays string values.
DomainUpDown.
DomainUpDownItemCollection
Encapsulates a collection of objects for use by the DomainUpDown class.
DragEventArgs Provides data for the DragDrop, DragEnter, or DragOver event.
DrawItemEventArgs Provides data for the DrawItem event.
ErrorProvider Provides a user interface for indicating that a control on a form has an error associated with it.
FeatureSupport Provides static (Shared in Visual Basic) methods for retrieving feature information from the current system.
FileDialog Displays a dialog box from which the user can select a file.
FolderBrowserDialog Represents a common dialog box that allows the user to choose a folder. This class cannot be inherited.
FontDialog Represents a common dialog box that displays a list of fonts that are currently installed on the system.
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.
GiveFeedbackEventArgs Provides data for the GiveFeedback event, which occurs during a drag operation.
GridColumnStylesCollection Represents a collection of DataGridColumnStyle objects in the System.Windows.Forms.DataGrid control.
GridItem Implements one row in a PropertyGrid.
GridItemCollection Contains a collection of GridItem objects.
GridTableStylesCollection Represents a collection of DataGridTableStyle objects in the DataGrid control.
GroupBox Represents a Windows group box.
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.
ImageIndexConverter Provides a type converter to convert data for an image index to and from a string.
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.
InputLanguage Provides methods and fields to manage the input language. This class cannot be inherited.
InputLanguageChangedEventArgs Provides data for the InputLanguageChanged event.
InputLanguageChangingEventArgs Provides data for the InputLanguageChanging event.
InputLanguageCollection Stores InputLanguage objects.
InvalidateEventArgs Provides data for the Invalidated event.
ItemChangedEventArgs Provides data for the ItemChanged event.
ItemCheckEventArgs Provides data for the ItemCheck event of the CheckedListBox and ListView controls.
ItemDragEventArgs Provides data for the ItemDrag event of the ListView and TreeView controls.
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 LabelEdit event.
LayoutEventArgs Provides data for the Layout event.
LinkArea.LinkAreaConverter Provides a type converter to convert LinkArea.LinkAreaConverter objects to and from various other representations.
LinkClickedEventArgs Provides data for the LinkClicked event.
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.
ListBox Represents a Windows list box control.
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 and ComboBox classes.
ListView 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 Represents the collection of column headers in a ListView control.
ListView.ListViewItemCollection Represents the collection of items in a ListView control.
ListView.SelectedIndexCollection Represents the collection containing the indexes to the selected items in a list view control.
ListView.
SelectedListViewItemCollection
Represents the collection of selected items in a list view control.
ListViewItem Represents an item in a ListView control.
ListViewItem.ListViewSubItem Represents a subitem of a ListViewItem.
ListViewItem.
ListViewSubItemCollection
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.
MainMenu Represents the menu structure of a form.
MeasureItemEventArgs Provides data for the MeasureItem event of the ListBox, ComboBox, CheckedListBox, and MenuItem controls.
Menu Represents the base functionality for all menus.
Menu.MenuItemCollection Represents a collection of MenuItem objects.
MenuItem Represents an individual item that is displayed within a MainMenu or ContextMenu.
MessageBox Displays a message box that can contain text, buttons, and symbols that inform and instruct the user.
MonthCalendar Represents a standard Windows month calendar control.
MonthCalendar.HitTestInfo Contains information about an area of a MonthCalendar control. This class cannot be inherited.
MouseEventArgs Provides data for the MouseUp, MouseDown, and MouseMove events.
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 status area. This class cannot be inherited.
NumericUpDown Represents a Windows up-down control that displays numeric values.
OpacityConverter Provides a type converter to convert opacity values to and from a string.
OpenFileDialog Represents a common dialog box that displays the control that allows the user to open a file. This class cannot be inherited.
OSFeature Provides operating-system specific feature queries.
PageSetupDialog Represents a dialog box that allows users to manipulate page settings, including margins and paper orientation.
PaintEventArgs Provides data for the Paint event.
Panel Represents a Windows Panel control.
PictureBox Represents a Windows picture box control for displaying an image.
PrintControllerWithStatusDialog Controls how a document is printed.
PrintDialog Allows users to select a printer and choose which portions of the document to print.
PrintPreviewControl Represents the raw "preview" part of print previewing, without any dialog boxes or buttons. Most PrintPreviewControl objects are found on PrintPreviewDialog objects, but they do not have to be.
PrintPreviewDialog Represents a dialog box form that contains a PrintPreviewControl.
ProgressBar Represents a Windows progress bar control.
PropertyGrid Provides a user interface for browsing the properties of an object.
PropertyGrid.PropertyTabCollection Contains a collection of PropertyTab objects.
PropertyManager Maintains a Binding between an object's property and a data-bound control property.
PropertyTabChangedEventArgs Provides data for the PropertyTabChanged event of a PropertyGrid.
PropertyValueChangedEventArgs Provides data for the PropertyValueChanged event of a PropertyGrid.
QueryAccessibilityHelpEventArgs Provides data for the QueryAccessibilityHelp event.
QueryContinueDragEventArgs Provides data for the QueryContinueDrag event.
RadioButton Represents a Windows radio button.
RichTextBox Represents a Windows rich text box control.
SaveFileDialog Represents a common dialog box that allows the user to specify options 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.
ScrollBar Implements the basic functionality of a scroll bar control.
ScrollEventArgs Provides data for the Scroll event.
SelectedGridItemChangedEventArgs Provides data for the SelectedGridItemChanged event of the PropertyGrid 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 representations.
SendKeys Provides methods for sending keystrokes to an application.
Splitter Represents a splitter control that allows the user to resize docked controls.
SplitterEventArgs Provides data for SplitterMoving and the SplitterMoved events.
StatusBar Represents a Windows status bar control.
StatusBar.StatusBarPanelCollection Represents the collection of panels in a StatusBar control.
StatusBarDrawItemEventArgs Provides data for the DrawItem event.
StatusBarPanel Represents a panel in a StatusBar control.
StatusBarPanelClickEventArgs Provides data for the PanelClick event.
SystemInformation Provides information about the operating system.
TabControl Manages a related set of tab pages.
TabControl.ControlCollection Contains a collection of Control objects.
TabControl.TabPageCollection Contains a collection of TabPage objects.
TabPage Represents a single tab page in a TabControl.
TabPage.TabPageControlCollection Contains the collection of controls that the TabPage uses.
TextBox Represents a Windows text box control.
TextBoxBase Implements the basic functionality required by text controls.
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.
ToolBar.ToolBarButtonCollection Encapsulates a collection of ToolBarButton controls for use by the ToolBar class.
ToolBarButton Represents a Windows toolbar button.
ToolBarButtonClickEventArgs Provides data for the ButtonClick event.
ToolTip Represents a small rectangular pop-up window that displays a brief description of a control's purpose when the mouse hovers over the control.
TrackBar Represents a standard Windows track bar.
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.
TreeView Displays a hierarchical collection of labeled items, each represented by a TreeNode.
TreeViewCancelEventArgs Provides data for the BeforeCheck, BeforeCollapse, BeforeExpand, or BeforeSelect events of a TreeView control.
TreeViewEventArgs Provides data for the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect events of a TreeView control.
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.
UICuesEventArgs Provides data for the ChangeUICues event.
UpDownBase Implements the basic functionality required by an up-down control.
UserControl Provides an empty control that can be used to create other controls.
VScrollBar Represents a standard Windows vertical scroll bar.

Interfaces

Interface Description
IButtonControl Allows a control to act like a button on a form.
IContainerControl Provides the functionality for a control to act as a parent for other controls.
IDataGridColumnStyleEditingNotificationService Provides an editing notification interface.
IDataObject Provides a format-independent mechanism for transferring data.
IFeatureSupport Specifies a standard interface for retrieving feature information from the current system.
IMessageFilter Defines a message filter interface.
IWin32Window Provides an interface to expose Win32 HWND handles.

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.
LinkArea Represents an area within a LinkLabel control that represents a hyperlink within the control.
Message Implements a Windows message.

Delegates

Delegate Description
AxHost.AboutBoxDelegate Represents the method that will display an ActiveX control's About dialog box.
ColumnClickEventHandler Represents the method that will handle the ColumnClick 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 the Control class.
ConvertEventHandler Represents the method that will handle the Parse and Format events of a Binding object.
DateRangeEventHandler Represents the method that will handle the DateChanged or DateSelected event of a MonthCalendar.
DragEventHandler Represents the method that will handle the DragDrop, DragEnter, or DragOver event of a Control.
DrawItemEventHandler Represents the method that will handle the DrawItem event of a ComboBox, ListBox, MenuItem, or TabControl control.
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.
InputLanguageChangedEventHandler Represents the method that will handle the InputLanguageChanged event of a Form.
InputLanguageChangingEventHandler 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.
ItemCheckEventHandler Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView control.
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 LabelEdit event of a ListView.
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.
LinkLabelLinkClickedEventHandler Represents the method that will handle the LinkClicked event of a LinkLabel.
MeasureItemEventHandler Represents the method that will handle the MeasureItem event of the ListBox, ComboBox, CheckedListBox, or MenuItem controls.
MethodInvoker Represents the method that handles the Invoke event for a method.
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 a TreeView control.
PaintEventHandler Represents the method that will handle the Paint event of a Control.
PropertyTabChangedEventHandler 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 Represents the method that will handle the QueryAccessibilityHelp event of a control.
QueryContinueDragEventHandler Represents the method that will handle the QueryContinueDrag event of a Control.
ScrollEventHandler Represents the method that handles the Scroll event of a ScrollBar, TrackBar, or DataGrid.
SelectedGridItemChangedEventHandler Represents the method that will handle the SelectedGridItemChanged event of a PropertyGrid.
SplitterEventHandler Represents the method that will handle the SplitterMoving and SplitterMoved events of a Splitter.
StatusBarDrawItemEventHandler Represents the method that will handle the DrawItem event of a StatusBar.
StatusBarPanelClickEventHandler Represents the method that will handle the PanelClick event of a StatusBar.
ToolBarButtonClickEventHandler Represents the method that will handle the ButtonClick event of a ToolBar.
TreeViewCancelEventHandler Represents the method that will handle the BeforeCheck, BeforeCollapse, BeforeExpand, or BeforeSelect event of a TreeView.
TreeViewEventHandler Represents the method that will handle the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect event of a TreeView.
UICuesEventHandler Represents a method that will handle the ChangeUICues event of a Control.

Enumerations

Enumeration Description
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.
AxHost.ActiveXInvokeKind Specifies the type of member that referenced the ActiveX control while it was in an invalid state.
BootMode Specifies the mode the computer was started in.
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.
ColorDepth Specifies the number of colors used to display an image in an ImageList control.
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.
DataGrid.HitTestType 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.
DataGridParentRowsLabelStyle Specifies how the parent row labels of a DataGrid control are displayed.
DateTimePickerFormat 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.
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 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.
FlatStyle Specifies the appearance of a control.
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.
GridItemType 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.
ImeMode Specifies a value that determines the Input Method Editor (IME) status of an object when the object is selected.
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.
ListViewAlignment Specifies how items align in the ListView.
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.
MessageBoxButtons Specifies constants defining which buttons to display on a MessageBox.
MessageBoxDefaultButton Specifies constants defining the default button on a MessageBox.
MessageBoxIcon Specifies constants defining which information to display.
MessageBoxOptions Specifies options on a MessageBox.
MonthCalendar.HitArea 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 Specifies how an image is positioned within a PictureBox.
PropertySort Specifies how properties are sorted in the PropertyGrid.
RichTextBoxFinds Specifies how a text search is carried out in a RichTextBox control.
RichTextBoxScrollBars Specifies the type of scroll bars to display in a RichTextBox control.
RichTextBoxSelectionTypes Specifies the type of selection in a RichTextBox control.
RichTextBoxStreamType Specifies the types of input and output streams used to load and save data in the RichTextBox control.
RightToLeft Specifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts.
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.
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.
SortOrder Specifies how items in a list are sorted.
StatusBarPanelAutoSize Specifies how a StatusBarPanel on a StatusBar control behaves when the control resizes.
StatusBarPanelBorderStyle Specifies the appearance of the border for a StatusBarPanel on a StatusBar control.
StatusBarPanelStyle Specifies whether a StatusBarPanel object on a StatusBar control is owner-drawn or system-drawn.
TabAlignment Specifies the locations of the tabs in a tab control.
TabAppearance Specifies the appearance of the tabs in a tab control.
TabDrawMode Specifies whether the tabs in a tab control are owner-drawn (drawn by the parent window), or drawn by the operating system.
TabSizeMode Specifies how tabs in a tab control are sized.
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.
TreeViewAction Specifies the action that raised a TreeViewEventArgs event.
UICues Specifies the state of the user interface.
View Specifies how list items are displayed in a ListView control.

See Also

.NET Framework Class Library

Show:
© 2014 Microsoft