NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

System.WinForms Namespace

Classes

Class Description
AccessibleObject An AccessibleObject is any object that can be inspected by an accessibility application. This class provides a default implementation for IAccessible that is common across all accessible objects.
Application Provides static (in Visual Basic Shared) methods and properties to manage an application, such as methods to run and quit an application, to process Windows messages, and properties to get information about an application. This class cannot be inherited.
AxHost Wraps ActiveX controls and exposes them as fully featured WinForms controls.
AxHost.AxComponentEditor [To be supplied.]
AxHost.AxFlags Flags which may be passed to the AxHost constructor
AxHost.AxPropertyDescriptor [To be supplied.]
AxHost.State The class which encapsulates the persisted state of the underlying activeX control An instance of this class my be obtained either by calling getOcxState on an AxHost object, or by reading in from a stream.
BindingManager Manages the collection of ListManager objects for a Win Form.
BindingManager.HashKey [To be supplied.]
BindingsCollection Represents a collection of data bindings on a control.
Border [To be supplied.]
BorderConverter BorderConverter is a class that can be used to convert Border objects from one data type to another. Access this class through the TypeDescriptor.
Button Represents a standard Windows button.
ButtonBase Implements the basic functionality required by a button control.
CheckBox Encapsulates a standard Windows check box.
CheckedListBox Displays a list with a checkbox to the left of each item.
CheckedListBox.ObjectCollection [To be supplied.]
Clipboard Provides static (Shared) 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 OnColumnClick event.
ColumnHeader Displays a single column header in a ListView control.
ComboBox Displays an editing field and a list, allowing the user to select from the list or to enter new text. Displays only the editing field until the user explicitly displays the list.
ComboBox.ObjectCollection [To be supplied.]
CommonDialog Specifies the base class used for displaying dialog boxes on the screen.
ContainerControl Defines a base class for controls that contain other controls.
ContextMenu This class is used to put context menus on your form and show them for controls at runtime. It basically acts like a regular Menu control, but can be set for the ContextMenu property that most controls have.
Control Defines the base class for controls, which are components with visual representation.
Control.ControlCollection Collection of controls...
ControlBindingsCollection BindingsCollection is a collection of bindings for a Control. It has Add/Remove capabilities, as well as an All array property, enumeration, etc.
ControlEventArgs A ControlEventArgs is an event that has a control as a property.
ControlPaint The ControlPaint class provides a series of methods that can be used to paint common Windows UI pieces. Many WinForms controls use this class to paint their UI elements.
CreateParams [To be supplied.]
CurrentChangingEventArgs [To be supplied.]
DataFormats Translates between Winforms text-based Clipboard formats and Microsoft.Win32 32-bit signed integer-based Clipboard formats. Provides static (Shared) methods to create new Clipboard formats and add them to the Windows Registry.
DataFormats.Format Represents a format type.
DataGrid Displays ADO+ data in a scrollable grid.
DataGrid.HitTestInfo Contains information about the part of the DataGrid control the user has clicked.
DataGridAddNewRow This class fully encapsulates the painting logic for an addnew row appearing in a DataGrid.
DataGridBoolColumn Specifies a column in which each cell contains a check box for representing a boolean value.
DataGridColumn Specifies the appearance and text formatting and behavior of a DataGrid control column.
DataGridDropdownColumn [To be supplied.]
DataGridPreferredColumnWidthTypeConverter [To be supplied.]
DataGridRelationshipRow This class fully encapsulates the painting logic for a row appearing in a DataGrid.
DataGridRow This class fully encapsulates the painting logic for an addnew row appearing in a DataGrid.
DataGridTable Represents the table drawn by the DataGrid control at run time.
DataGridTextBox A wrapper around the Edit control will tell the editColumn when it receives a KeyPressed or a KeyDown event
DataGridTextBoxColumn Hosts a TBD control in a cell of a DataGridColumn for editing strings.
DataGridValueColumn This class fully encapsulates the painting logic for a column appearing in a DataGrid which use ValueEditors.
DataObject Implements a basic data transfer mechanism.
DateBoldEventArgs The month calendar control fires this event to request information about how the days within the visible months should be displayed.
DateRangeEventArgs The SelectEvent is fired when the user makes an explicit date selection within a month calendar control.
DateTimeFormatEventArgs The DateTimeFormatEventArgs is fired when the DateTimePicker is formatting time to display to the user.
DateTimeFormatQueryEventArgs The DateTimeFormatQueryEventArgs is fired when the DateTimePicker needs to determine the maxSize of text that will need to be displayed.
DateTimePicker Date/DateTime picker control
DateTimeUserStringEventArgs The DateTimeUserStringEventArgs is fired when the DateTimePicker needs to parse a user entered string.
DateTimeWmKeyDownEventArgs The DateTimeWmKeyDownEventArgs is fired when the user pressed a key in a custom field.
DocumentReadyEventArgs This event fires when an HTML document has been loaded (for example, by the HTMLControl) and the resulting DhDocument object is ready to be accessed using a method such as HTMLControl.getDocument() .
DomainUpDown Represents a Windows up-down control that displays string values.
DomainUpDown.DomainUpDownItems Encapsulates a collection of objects for use by the DomainUpDown class.
DragEventArgs Provides data for the System.WinForms.RichControl.DragDrop, System.WinForms.RichControl.DragEnter, or System.WinForms.RichControl.DragOver event.
DrawItemEventArgs This event is fired by owner draw Controls, such as ListBoxes and ComboBoxes. It contains all the information needed for the user to paint the given item, including the item index, the Rectangle in which the drawing should be done, and the Graphics object with which the drawing should be done.
Edge [To be supplied.]
EdgeConverter EdgeConverter is a class that can be used to convert Edge objects from one data type to another. Access this class through the TypeDescriptor.
ErrorEventArgs Provides data for the System.IO.FileSystemWatcher.OnError event.
ErrorProvider ErrorProvider presents a simple user interface for indicating to the user that a control on a form has an error associated with it. If a error description string is specified for the control, then an icon will appear next to the control, and when the mouse hovers over the icon, a tooltip will appear showing the error description string.
FeatureSupport Provides static (Shared) methods, and specifies methods for retrieving feature information about the current system.
FileDialog Displays a dialog window from which the user can select a file.
FilePersistEventArgs [To be supplied.]
FileVersionInfo Provides version information for a physical file on disk.
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 Collection of controls...
FormatControl Implements customizable formatting of the Value property.
GiveFeedbackEventArgs Provides data for the System.WinForms.GiveFeedbackEventArgs.GiveFeedback event.
GridColumnsCollection Represents a collection of TBD objects in the DataGrid control.
GridTablesCollection [To be supplied.]
GridTablesFactory [To be supplied.]
GroupBox Encapsulates a standard Windows® group box.
Help Represents the Win32 Help engine.
HelpEventArgs Provides data for the System.WinForms.RichControl.Help event.
HelpProvider Provides pop-up or online Help for controls.
HScrollBar Represents a standard Windows horizontal scroll bar.
ImageIndexConverter ImageIndexConverter is a class that can be used to convert image index values one data type to another.
ImageList The ImageList is an object that stores a collection of Images, most commonly used by other controls, such as the ListView, TreeView, or Toolbar. You can add either bitmaps or Icons to the ImageList, and the other controls will be able to use the Images as they desire.
ImageList.ImageCollection [To be supplied.]
ImageListStreamer [To be supplied.]
InputLangChangeEventArgs Provides data for the System.WinForms.Form.InputLangChange event.
InputLangChangeRequestEventArgs Provides data for the System.WinForms.Form.InputLangChangeRequest event.
InputLanguage Provides methods and fields to manage the input language.
InvalidateEventArgs Provides data for the Invalidate event.
ItemChangedEventArgs [To be supplied.]
ItemCheckEventArgs Provides data for the System.WinForms.CheckedListBox.ItemCheck event.
ItemDragEventArgs Provides data for the OnItemDrag event.
KeyEventArgs Provides data for the System.WinForms.Control.KeyDown or System.WinForms.Control.KeyUp event.
KeyPressEventArgs Provides data for the System.WinForms.Control.KeyPress event.
KeysConverter KeysConverter is a class that can be used to convert Key objects from one data type to another. Access this class through the TypeDescriptor.
Label Represents a standard Windows label, which displays a string of text that the user cannot edit.
LabelEditEventArgs Provides data for the LabelEdit event.
LayoutEventArgs [To be supplied.]
LinkClickEventArgs Provides data for the System.WinForms.RichTextBox.LinkClick event.
LinkLabel Displays text that can contain a hyperlink.
LinkLabel.Link [To be supplied.]
LinkLabel.LinkCollection [To be supplied.]
LinkLabelLinkClickedEventArgs Provides data for the OnLinkClicked event.
ListBinding Represents a single binding between a DataColumn in a DataTable and the property of a component.
ListBindingConverter [To be supplied.]
ListBox This is a control that presents a list of items to the user. They may be navigated using the keyboard, or the scrollbar on the right side of the control. One or more items may be selected as well.

The preferred way to add items is to set them all via an array at once, which is definitely the most efficient way. The following is an example of this:

ListBox lb = new ListBox();
    //     set up properties on the listbox here.
    lb.Items.All = new String [] {
    "A",
    "B",
    "C",
    "D"};
ListBox.ObjectCollection [To be supplied.]
ListBox.SelectedIndicesCollection [To be supplied.]
ListBox.SelectedObjectCollection [To be supplied.]
ListControl [To be supplied.]
ListItem Implements an item of a ListView.
ListItemConverter ListItemConverter is a class that can be used to convert ListItem objects from one data type to another. Access this class through the TypeDescriptor.
ListManager Manages the position and bindings of a list.
ListManagerBindingsCollection BindingsCollection is a collection of bindings for a Control. It has Add/Remove capabilities, as well as an All array property, enumeration, etc.
ListPropertyConverter ListPropertyConverter is a type converter that is used to list available values for the ListProperty.
ListView Displays a list of items in one of four views. Each item displays a caption and optionally an image.
ListView.ColumnHeaderCollection [To be supplied.]
ListView.ListItemCollection [To be supplied.]
ListView.SelectedListItemCollection [To be supplied.]
MainMenu This is a menu component that can be put on a form to give it menus for runtime. A Forms menu bar is a MainMenu control. All sub-menus are Menu controls, and individual items are MenuItem controls.
MDIClient The MDIClient is that window that contains MDI children. This control should not be created directly, but rather only used by System.WinForms.Form.
MDIClient.ControlCollection Collection of controls...
MeasureItemEventArgs This event is sent by controls such as the ListBox or ComboBox that need users to tell them how large a given item is to be.
Menu This is the base class for all menu components (MainMenu, MenuItem, and ContextMenu).
Menu.MenuItemCollection [To be supplied.]
MenuItem Represents an individual item that is displayed within a Menu or Menu.
MessageBox Displays a message box that can contain text, buttons, and symbols that inform and instruct the user.
MonthCalendar This control is an encapsulateion of the Windows month calendar control. A month calendar control implements a calendar-like user interface, that provides the user with a very intuitive and recognizable method of entering or selecting a date. Users can also select which days bold. The most efficient way to add the bolded dates is via an array all at once. (The below descriptions can be applied equally to annually and monthly bolded dates as well) The following is an example of this:
MonthCalendar mc = new MonthCalendar();
    //     add specific dates to bold
    DateTime[] time = new DateTime[3];
    time[0] = DateTime.Now;
    time[1] = time[0].addDays(2);
    time[2] = time[1].addDays(2);
    mc.setBoldedDates(time);

Removal of all bolded dates is accomplished with:

mc.removeAllBoldedDates();

Although less efficient, the user may need to add or remove bolded dates one at a time. To improve the performance of this, neither addBoldedDate nor removeBoldedDate repaints the monthcalendar. The user must call updateBoldedDates to force the repaint of the bolded dates, otherwise the monthCalendar will not paint properly. The following is an example of this:

DateTime time1 = new DateTime("3/5/98");
    DateTime time2 = new DateTime("4/19/98");
    mc.addBoldedDate(time1);
    mc.addBoldedDate(time2);
    mc.removeBoldedDate(time1);
    mc.updateBoldedDates();

The same applies to addition and removal of annual and monthly bolded dates.

MonthCalendar.HitTestInfo HitTestInfo objects are returned by MonthCalendar in response to the hitTest method. HitTestInfo is for informational purposes only; the user should not construct these objects, and cannot modify any of the members.
MouseEventArgs Provides data for the MouseUp, MouseDown, and MouseMove events.
MultiplexPanel [To be supplied.]
MultiplexPanel.ControlCollection [To be supplied.]
NativeWindow Provides a low-level encapsulation of a window handle and a window procedure. The class automatically manages window class creation and registration.
NavigateEventArgs [To be supplied.]
NodeLabelEditEventArgs Provides data for the OnBeforeLabelEdit or OnAfterLabelEdit event.
NumericUpDown Represents a Windows up-down control that displays numeric values.
OpacityConverter OpacityConverter is a class that can be used to convert opacity values from one data type to another. Access this class through the TypeDescriptor.
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 which allows users to manipulate page settings, including margins and paper orientation.
PaintEventArgs Provides data for the System.WinForms.RichControl.Paint event.
Panel The Panel is a simple little container class that lets you visually parent other controls.
PictureBox The PictureBox control is used to display images. The image property should be set to the image desired.
PrintControllerWithStatusDialog [To be supplied.]
PrintDialog This dialog allows users to select a printer, and choose which portions of the document to print
PrintPreviewControl The raw "preview" part of print previewing, without any dialogs or buttons. Most PrintPreviewControl's are found on PrintPreviewDialog's, but they don't have to be.
PrintPreviewDialog Represents a dialog box form which contains a PrintPreviewControl.
ProgressBar Represents a Windows progress bar control.
PropertyGrid [To be supplied.]
PropertyGrid.GridToolBar [To be supplied.]
PropertyGrid.SnappableControl [To be supplied.]
PropertyTabChangedEventArgs [To be supplied.]
QueryContinueDragEventArgs [To be supplied.]
RadioButton Encapsulates a standard Windows radio button (option button).
ReadyStateEventArgs [To be supplied.]
RelatedListManager [To be supplied.]
RequestResizeEventArgs Provides data for the System.WinForms.RichTextBox.RequestResize event.
RichControl Defines a base class for controls, which are components with visual representation.
RichControl.ControlAccessibleObject An implementation of AccessibleChild for use with RichControls
RichControl.ControlCollection [To be supplied.]
RichTextBox Rich Text control. The RichTextBox is a control that contains formatted text. It supports font selection, boldface, and other type attributes.
RichTextBoxIMEColor This class contains the options that can be set on the text inside the IME composition window. This is applicable only for Asian-versions of the operating system.
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 System.WinForms.ScrollBar.Scroll event.
SelectionChangedEventArgs The SelectEvent is fired when the user makes an explicit date selection within a month calendar control.
SelectionRange This is a class that represents the date selection range of a MonthCalendar control.
SelectionRangeConverter SelectionRangeConverter is a class that can be used to convert SelectionRange objects from one data type to another. Access this class through the TypeDescriptor.
Splitter Provides user resizing of docked elements at run time. To use a Splitter you can dock any control to an edge of a container, and then dock the splitter to the same edge. The splitter will then resize the control that is previous in the docking order.
SplitterEventArgs Provides data for the System.WinForms.Splitter.Splitter event.
StatusBar Represents a Windows status bar control.
StatusBar.StatusBarPanelCollection [To be supplied.]
StatusBarDrawItemEventArgs Provides data for the OnDrawItem event.
StatusBarPanel Stores the StatusBar control panel's information.
StatusBarPanelClickEventArgs Provides data for the OnPanelClick event.
SystemInformation Gets information about the operating system, including folder locations for special Windows folders.
TabBase This is the base class that TabStrip and TabControl share their common functionality through. It is abstract and can not be instantiated.
TabControl The TabControl. This control has a lot of the functionality of a TabStrip but manages a list of TabPages which are the 'pages' that appear on each tab.
TabControl.ControlCollection Collection of controls...
TabControl.TabPageCollection [To be supplied.]
TabItem This is the class used to add a tab to a TabStrip. It contains information about the tab text, toolTipText, and an imageIndex into the TabStrip's imageList. most functions on TabStrip that take TabItems will also take a string which will simply wrap the string in a TabItem.
TabPage TabPage implements a single page of a tab control. It is essentially a Panel with TabItem properties.
TabPage.TabPageControlCollection Our control collection will throw an exception if you try to add other tab pages.
TabStrip A Control for creating Tabbed Dialogs or tabbed toolbar/taskbar type windows. This control provides one or more rows of tabs that the user can select one at a time. After each selection, a notification is provided that allows for changing of UI. Two basic UI modes supported are the traditional tabs seen in Property Page type scenarios and a button-style tab, as in the taskbar found in Windows 95 and Windows NT4.
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.
ToolBar This class should be used to add a ToolBar to your form. It can be algined to the top or the bottom of the form. You can add or remove buttons, and associate the ToolBar with an ImageList
ToolBar.ToolBarButtonCollection [To be supplied.]
ToolBarButton This class is used to describe a button on a ToolBar control. You use the various methods to add, remove, or set the buttons on the ToolBar to actually make them appear or disappear. The most important things to set would be the text and the image.
ToolBarButtonClickEventArgs Provides data for the System.WinForms.ToolBar.ButtonClick event.
ToolTip Provides a small pop-up window containing a line of text that describes the purpose of a tool or control (usually represented as a graphical object) in a program.
TrackBar The TrackBar is a scrollable control similar to the ScrollBar, but has a different UI. You can configure ranges through which it should scroll, and also define increments for off-button clicks. It can be aligned horizontally or vertically. You can also configure how many 'ticks' are shown for the total range of values
TrayIcon Specifies a component that creates an icon in the Windows System Tray. This class cannot be inherited.
TreeNode Implements a node of a TreeView.
TreeNodeCollection [To be supplied.]
TreeNodeConverter TreeNodeConverter is a class that can be used to convert TreeNode objects from one data type to another. Access this class through the TypeDescriptor.
TreeView Displays a hierarchical list of items, or nodes. Each node includes a caption and an optional bitmap. The user can select a node. If it has sub-nodes, the user can collapse or expand the node.
TreeViewCancelEventArgs Provides data for the OnBeforeCheck, OnBeforeCollapse, OnBeforeExpand, or OnBeforeSelect event.
TreeViewEventArgs Provides data for the OnAfterCheck, System.WinForms.TreeView.AfterCollapse, System.WinForms.TreeView.AfterExpand, or System.WinForms.TreeView.AfterSelect event.
UpDownBase Implements the basic functionality required by an up-down control.
UserControl Represents an empty control that can be used in the Forms Designer to create other controls. By extending form, UserControl inherits all of the standard positioning and mnemonic handling code that is necessary in a user control.
ValueEdit ValueEdit provides generic editing of any type that supports the ValueEditor architecture. It has a ValueType property that can point to a type that has an associated value editor, and then a Value property which points to the current value of that type. It also throws an event whenever the Value changes. (Property change event).
ValueEditorHost [To be supplied.]
ViewModelessEventArgs [To be supplied.]
ViewStateLoadEventArgs [To be supplied.]
ViewStateSaveEventArgs [To be supplied.]
VScrollBar Represents a standard Windows vertical scroll bar.
WinFormsSecurity [To be supplied.]

Interfaces

Interface Description
IBorderStyleEdges [To be supplied.]
IButtonControl Allows a control to act like a button on a form.
ICommandExecutor [To be supplied.]
IContainerControl [To be supplied.]
IDataGridEditingService The DataGrid exposes hooks to request editing commands via this interface.
IDataGridHost [To be supplied.]
IDataObject Provides a format-independent mechanism for transferring data.
IFeatureSupport Specifies a standard interface for retrieving feature information about the current system.
IMessageFilter Defines a message filter interface. This interface allows an application to hook a message before is dispatched to a control or form.
IWin32Window This interface is implemented on objects that expose Win32 HWND handles. The resultant handle can be used with Win32 API calls.

Structures

Structure Description
BitVector32 Simple light bit vector that provides easy int/bool access to a 32 bit storage... Standard usage: private static readonly BitVector32.Section first = BitVector32.CreateSection(2); private static readonly BitVector32.Section second = BitVector32.CreateSection(1, first); private static readonly BitVector32.Section third = BitVector32.CreateSection(5, second); private static readonly int MaskOne = BitVector32.CreateMask(); private static readonly int MaskTwo = BitVector32.CreateMask(MaskOne); BitVector32 b = new BitVector32(); b[first] = 1;// max of 2! b[third] = 3;// max of 5! BitVector32 anotherB = new BitVector32(); anotherB[MaskOne] = true;
BitVector32.Section Represents an int section inside of a vector.
DataGridCell Identifies a cell in the grid.
Message Implements a Windows Message. This class cannot be created directly. Rather, use the create and free methods. Messages are pooled within this class to make their creation more efficient.

Delegates

Delegate Description
ColumnClickEventHandler Represents the method that will handle the the OnColumnClick event of a ListView.
ControlEventHandler Describes a delegate for an event that has a ControlEventArgs as a parameter.
CurrentChangingEventHandler [To be supplied.]
DateBoldEventHandler [To be supplied.]
DateRangeEventHandler [To be supplied.]
DateTimeFormatEventHandler [To be supplied.]
DateTimeFormatQueryEventHandler [To be supplied.]
DateTimeUserStringEventHandler [To be supplied.]
DateTimeWmKeyDownEventHandler [To be supplied.]
DocumentReadyEventHandler [To be supplied.]
DragEventHandler Represents the method that will handle the System.WinForms.RichControl.DragDrop, System.WinForms.RichControl.DragEnter, or System.WinForms.RichControl.DragOver event of a RichControl.
DrawItemEventHandler [To be supplied.]
ErrorEventHandler Represents the method that will handle the System.IO.FileSystemWatcher.OnError event of a System.IO.FileSystemWatcher
FilePersistEventHandler [To be supplied.]
GiveFeedbackEventHandler Represents the method that handles the System.WinForms.RichControl.GiveFeedback event of a RichControl.
HelpEventHandler Represents the method that will handle the System.WinForms.RichControl.Help event of a RichControl.
InputLangChangeEventHandler Represents the method that will handle the System.WinForms.Form.InputLangChange event of a Form.
InputLangChangeRequestEventHandler Represents the method that will handle the System.WinForms.InputLangChangeRequest event of a Form.
InvalidateEventHandler Represents the method that will handle the Invalidate event of a RichControl.
ItemChangedEventHandler [To be supplied.]
ItemCheckEventHandler Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView.
ItemDragEventHandler Represents the method that will handle the OnItemDrag event of a ListView.
KeyEventHandler Represents a method that will handle the System.WinForms.Control.KeyUp or System.WinForms.Control.KeyDown event of a Control.
KeyPressEventHandler Represents a method that will handle the System.WinForms.Control.KeyPress event of a Control.
LabelEditEventHandler Represents the method that will handle the LabelEdit event of a ListView.
LayoutEventHandler [To be supplied.]
LinkClickEventHandler Represents the method that will handle the System.WinForms.RichTextBox.LinkClick event of a RichTextBox.
LinkLabelLinkClickedEventHandler Represents the method that will handle the System.WinForms.LinkLabel.LinkClicked event of a LinkLabel.
MeasureItemEventHandler [To be supplied.]
MethodInvoker MethodInvoker is a simple delegate that is used to invoke a method with a void parameter list. This is handy when making calls to a control's invoke method, or anytime you need a simple delegate but don't want to define one yourself.
MouseEventHandler Represents the method that will handle the MouseDown, MouseUp, or MouseMove event of a form, control, or other component.
NavigateEventHandler [To be supplied.]
NodeLabelEditEventHandler Represents the method that will handle the OnBeforeLabelEdit or OnAfterLabelEdit event of a TreeView.
PaintEventHandler Represents the method that will handle the System.WinForms.RichControl.Paint event of a RichControl class.
PropertyTabChangedEventHandler [To be supplied.]
QueryContinueDragEventHandler Represents the method that will handle the System.WinForms.RichControl.QueryContinueDrag event of a RichControl.
ReadyStateEventHandler [To be supplied.]
RequestResizeEventHandler Represents the method that will handle the System.WinForms.RichTextBox.RequestResize event of a RichTextBox.
ScrollEventHandler Represents the method that handles the Scroll event of a ScrollBar, TrackBar, or DataGrid.
SelectionChangedEventHandler [To be supplied.]
SplitterEventHandler Represents the method that will handle the System.WinForms.Splitter.Splitter event of a Splitter.
StatusBarDrawItemEventHandler Represents the method that will handle the OnDrawItem event of a StatusBar.
StatusBarPanelClickEventHandler Represents the method that will handle the OnPanelClick event of a StatusBar.
ToolBarButtonClickEventHandler Represents the method that will handle the System.WinForms.ToolBar.ButtonClick event of a ToolBar.
TreeViewCancelEventHandler Represents the method that will handle the OnBeforeCheck, OnBeforeCollapse, System.WinForms.TreeView.BeforeExpand, or System.WinForms.TreeView.BeforeSelect event of a TreeView.
TreeViewEventHandler Represents the method that will handle the OnAfterCheck, OnAfterCollapse, OnAfterExpand, or OnAfterSelect event of a TreeView.
ViewModelessEventHandler [To be supplied.]
ViewStateLoadEventHandler [To be supplied.]
ViewStateSaveEventHandler [To be supplied.]

Enumerations

Enumeration Description
AccessibleEvents Specifies events that are reported by accessible applications.
AccessibleNavigation Specifies values for navigating between accessible objects.
AccessibleRoles Specifies values representing possible roles for an accessible object.
AccessibleSelection Specifies how an accessible object will be selected or receive 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 the system uses to arrange minimized windows.
ArrangeStartingPosition Specifies the starting position that the system uses to arrange minimized windows.
BootMode Specifies in which mode to start the computer.
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 or form.
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 System.WinForms.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 [To be supplied.]
ColumnHeaderStyle Specifies how ListView column headers behave.
ComboBoxStyle Specifies the ComboBox style.
ControlStyles Specifies control functionality.
DataGrid.HitTestType Indicates the part of the DataGrid control the user has clicked.
DataGridLineStyle [To be supplied.]
DataGridNavigationModes [To be supplied.]
DataGridParentRowsLabelStyle Specifies how parent row labels of a System.Drawing.DataGrid control are displayed.
DateTimePickerFormats Constants that specify how the date and time picker control displays date and time information.
Day Specifies the day of the week.
DialogResult Specifies the return value of a dialog box.
DisplayType [To be supplied.]
DockStyle Control Dock values. When a control is docked to an edge of it's container it will always be positioned flush against that edge while the container resizes. If more than one control is docked to an edge, the controls will not be placed on top of each other.
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 responsibility for drawing a control or portion of a control.
EdgeStyle [To be supplied.]
ErrorBlinkStyle Describes the times that the error icon supplied by an ErrorProvider should blink to alert the user that an error has occurred.
ErrorIconAlignment Describes the set of locations that an error icon can appear in relation to the control with the error.
FlatStyle Specifies the style of control to display.
FloatMode [To be supplied.]
FloodFillType This enum describes different modes for the Graphics floodFill family of methods. Graphics.floodFill
FolderBrowserFolders [To be supplied.]
FolderBrowserStyles Specifies various styles that may be applied to the FolderBrowser object.
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.
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 IME (Input Method Editor) status of the object when that object is selected.
ItemActivation Specifies how the user activates items and the appearance of items as the mouse cursor moves over them.
ItemBoundsPortion Specifies the display bounds of a ListItem.
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 [To be supplied.]
LinkState [To be supplied.]
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 Enum to be used with the drawMenuGlyph function.
MenuMerge Specifies the behavior of a MenuItem when it is merged with items in another menu.
MonthCalendar.HitAreaEnum This enumeration has specific areas of the MonthCalendar control as its enumerated values. The hitArea member of System.WinForms.Win32.HitTestInfo will be one of these enumerated values, and indicates which portion of a month calendar is under a specific point.
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.
PositionModes [To be supplied.]
PropertySort Possible values for property grid sorting mode
RichTextBoxFinds Specifies how the Find method works.
RichTextBoxIMEOptions This class contains the options that can be set on the IME composition window. This is applicable only for Asian-versions of the operating system.
RichTextBoxScrollBars Specifies how a RichTextBox control displays scroll bars.
RichTextBoxSelectionAttribute Specifies whether any characters in the current selection have the style or attribute.
RichTextBoxSelectionTypes Defines the possible kinds selection types in a RichTextBox control. The actual vale returned by RichTextBox.getSelType() is a combination of any of the below options.
RichTextBoxStreamType Defines the possible kinds of input/output streams used by RichTextBox control's load/save mechansim. These stream options are also used the control's text modification methods.
RichTextBoxWordPunctuations This class defines the possible kinds of punctuation tables that can be used with the RichTextBox word wrapping and word breaking features.
RightToLeft Specifies a value indicating whether the text appears from right to left, 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 create on a scroll bar.
ScrollEventArgsType Specifies the type of action used to raise the System.WinForms.ScrollBar.Scroll event.
SelectionMode [To be supplied.]
Shortcut Specifies shortcut keys that can be used by menu items.
SizeGripStyle Specifies the style of the sizing grip on a Form.
SizeRelationship [To be supplied.]
SortOrder Specifies how items in a list are sorted.
StatusBarPanelAutoSize Specifies how a panel on a status bar changes when the status bar resizes.
StatusBarPanelBorderStyle Specifies the border style of a panel on the StatusBar.
StatusBarPanelStyle Specifies whether a panel on a status bar is owner drawn or system drawn.
TabAlignment Controls where the tabs will be located in a Tab Control.
TabAppearance The various tab controls will let you configure their appearance. This enumeration contains the possible values.
TabDrawMode The TabStrip and TabControl both support ownerdraw functionality, but only one type, in which you can paint the tabs individually. This enumeration contains the valid values for it's drawMode property.
TabSizeMode Controls the automatic sizing of certain objects. This is typically used for the sizing of Tabs in a TabStrip 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.
TreeViewAction This enum is used to specify the action that caused a TreeViewEventArgs.
TriangleDirection [To be supplied.]
VerticalAlignment Specifies how an object or text in a control is vertically aligned relative to an element of the control.
View Specifies how list items are displayed in a ListView control.