Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Form Class
 Form Members
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Form Members

Updated: November 2007

Represents a window or dialog box that makes up an application's user interface.

The Form type exposes the following members.

  NameDescription
Form Initializes a new instance of the Form class.
Top
  NameDescription
AccessibilityNotifyClientsOverloaded.
Activate Activates the form and gives it focus.
ActivateMdiChild Activates the MDI child of a form.
AddOwnedForm Adds an owned form to this form.
AdjustFormScrollbars (Overrides ContainerControl..::.AdjustFormScrollbars(Boolean).)
ApplyAutoScalingInfrastructure. Obsolete. Resizes the form according to the current value of the AutoScaleBaseSize property and the size of the current font.
BeginInvokeOverloaded.
BringToFront Brings the control to the front of the z-order. (Inherited from Control.)
CenterToParentInfrastructure. Centers the position of the form within the bounds of the parent form.
CenterToScreenInfrastructure. Centers the form on the current screen.
Close Closes the form.
Contains Retrieves a value indicating whether the specified control is a child of the control. (Inherited from Control.)
CreateAccessibilityInstance Creates a new accessibility object for the control. (Inherited from Control.)
CreateControl Forces the creation of the control, including the creation of the handle and any child controls. (Inherited from Control.)
CreateControlsInstanceOverloaded.
CreateGraphics Creates the Graphics for the control. (Inherited from Control.)
CreateHandle Creates the handle for the form. If a derived class overrides this function, it must call the base implementation. (Overrides Control..::.CreateHandle()()().)
CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
DefWndProc Sends the specified message to the default window procedure. (Overrides Control..::.DefWndProc(Message%).)
DestroyHandle Destroys the handle associated with the control. (Inherited from Control.)
DisposeOverloaded. Releases the resources used by the form.
DoDragDrop Begins a drag-and-drop operation. (Inherited from Control.)
DrawToBitmap Supports rendering to the specified bitmap. (Inherited from Control.)
EndInvoke Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed. (Inherited from Control.)
Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
FinalizeOverloaded.
FindForm Retrieves the form that the control is on. (Inherited from Control.)
Focus Sets input focus to the control. (Inherited from Control.)
GetAccessibilityObjectById Retrieves the specified AccessibleObject. (Inherited from Control.)
GetAutoScaleSize Obsolete. Gets the size when autoscaling the form based on a specified font.
GetAutoSizeMode Retrieves a value indicating how a control will behave when its AutoSize property is enabled. (Inherited from Control.)
GetChildAtPointOverloaded.
GetContainerControl Returns the next ContainerControl up the control's chain of parent controls. (Inherited from Control.)
GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
GetNextControl Retrieves the next control forward or back in the tab order of child controls. (Inherited from Control.)
GetPreferredSize Retrieves the size of a rectangular area into which a control can be fitted. (Inherited from Control.)
GetScaledBounds Retrieves the bounds within which the control is scaled. (Overrides Control..::.GetScaledBounds(Rectangle, SizeF, BoundsSpecified).)
GetScrollState Determines whether the specified flag has been set. (Inherited from ScrollableControl.)
GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
GetStyle Retrieves the value of the specified control style bit for the control. (Inherited from Control.)
GetTopLevel Determines if the control is a top-level control. (Inherited from Control.)
GetType Gets the Type of the current instance. (Inherited from Object.)
Hide Conceals the control from the user. (Inherited from Control.)
InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
InitLayout Called after the control has been added to another container. (Inherited from Control.)
InvalidateOverloaded.
InvokeOverloaded.
InvokeGotFocus Raises the GotFocus event for the specified control. (Inherited from Control.)
InvokeLostFocus Raises the LostFocus event for the specified control. (Inherited from Control.)
InvokeOnClick Raises the Click event for the specified control. (Inherited from Control.)
InvokePaint Raises the Paint event for the specified control. (Inherited from Control.)
InvokePaintBackground Raises the PaintBackground event for the specified control. (Inherited from Control.)
IsInputChar Determines if a character is an input character that the control recognizes. (Inherited from Control.)
IsInputKey Determines whether the specified key is a regular input key or a special key that requires preprocessing. (Inherited from Control.)
LayoutMdi Arranges the multiple-document interface (MDI) child forms within the MDI parent form.
MemberwiseCloneOverloaded.
NotifyInvalidateInfrastructure. Raises the Invalidated event with a specified region of the control to invalidate. (Inherited from Control.)
OnActivated Raises the Activated event.
OnAutoSizeChanged Raises the AutoSizeChanged event. (Inherited from Control.)
OnAutoValidateChanged Raises the AutoValidateChanged event. (Inherited from ContainerControl.)
OnBackColorChanged Raises the BackColorChanged event. (Inherited from Control.)
OnBackgroundImageChangedOverloaded.
OnBackgroundImageLayoutChanged Raises the BackgroundImageLayoutChanged event. (Overrides Control..::.OnBackgroundImageLayoutChanged(EventArgs).)
OnBindingContextChanged Raises the BindingContextChanged event. (Inherited from Control.)
OnCausesValidationChanged Raises the CausesValidationChanged event. (Inherited from Control.)
OnChangeUICues Raises the ChangeUICues event. (Inherited from Control.)
OnClick Raises the Click event. (Inherited from Control.)
OnClientSizeChanged Raises the ClientSizeChanged event. (Inherited from Control.)
OnClosed Raises the Closed event.
OnClosing Raises the Closing event.
OnContextMenuChanged Raises the ContextMenuChanged event. (Inherited from Control.)
OnContextMenuStripChanged Raises the ContextMenuStripChanged event. (Inherited from Control.)
OnControlAdded Raises the ControlAdded event. (Inherited from Control.)
OnControlRemovedOverloaded.
OnCreateControl Raises the CreateControl event. (Overrides ContainerControl..::.OnCreateControl()()().)
OnCursorChanged Raises the CursorChanged event. (Inherited from Control.)
OnDeactivate Raises the Deactivate event.
OnDockChanged Raises the DockChanged event. (Inherited from Control.)
OnDoubleClick Raises the DoubleClick event. (Inherited from Control.)
OnDragDrop Raises the DragDrop event. (Inherited from Control.)
OnDragEnter Raises the DragEnter event. (Inherited from Control.)
OnDragLeave Raises the DragLeave event. (Inherited from Control.)
OnDragOver Raises the DragOver event. (Inherited from Control.)
OnEnabledChangedOverloaded.
OnEnterOverloaded.
OnFontChanged Raises the FontChanged event. (Overrides