Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Form Members

Form overview

Public Constructors

public constructorForm Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the Form class.

Public Properties

public propertyAcceptButton Gets or sets the button on the form that is clicked when the user presses the ENTER key.
public propertyAccessibilityObject (inherited from Control) Gets the AccessibleObject assigned to the control.
public propertyAccessibleDefaultActionDescription (inherited from Control) Gets or sets the default action description of the control for use by accessibility client applications.
public propertyAccessibleDescription (inherited from Control) Gets or sets the description of the control used by accessibility client applications.
public propertyAccessibleName (inherited from Control) Gets or sets the name of the control used by accessibility client applications.
public propertyAccessibleRole (inherited from Control) Gets or sets the accessible role of the control
public propertyActiveControl (inherited from ContainerControl) Gets or sets the active control on the container control.
public propertystatic (Shared in Visual Basic)ActiveForm Gets the currently active form for this application.
public propertyActiveMdiChild Gets the currently active multiple document interface (MDI) child window.
public propertyAllowDrop (inherited from Control) Gets or sets a value indicating whether the control can accept data that the user drags onto it.
public propertyAnchor (inherited from Control) Gets or sets which edges of the control are anchored to the edges of its container.
public propertyAutoScale Gets or sets a value indicating whether the form adjusts its size to fit the height of the font used on the form and scales its controls.
public propertyAutoScaleBaseSize Gets or sets the base size used for autoscaling of the form.
public propertyAutoScroll Overridden. Gets or sets a value indicating whether the form enables autoscrolling.
public propertyAutoScrollMargin (inherited from ScrollableControl) Gets or sets the size of the auto-scroll margin.
public propertyAutoScrollMinSize (inherited from ScrollableControl) Gets or sets the minimum size of the auto-scroll.
public propertyAutoScrollPosition (inherited from ScrollableControl) Gets or sets the location of the auto-scroll position.
public propertyBackColor

Supported by the .NET Compact Framework.

Overridden. See Control.BackColor.
public propertyBackgroundImage (inherited from Control) Gets or sets the background image displayed in the control.
public propertyBindingContext (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets the BindingContext for the control.
public propertyBottom (inherited from Control)

Supported by the .NET Compact Framework.

Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
public propertyBounds (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets the size and location of the control including its nonclient elements.
public propertyCancelButton Gets or sets the button control that is clicked when the user presses the ESC key.
public propertyCanFocus (inherited from Control) Gets a value indicating whether the control can receive focus.
public propertyCanSelect (inherited from Control) Gets a value indicating whether the control can be selected.
public propertyCapture (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the control has captured the mouse.
public propertyCausesValidation (inherited from Control) Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
public propertyClientRectangle (inherited from Control)

Supported by the .NET Compact Framework.

Gets the rectangle that represents the client area of the control.
public propertyClientSize

Supported by the .NET Compact Framework.

Gets or sets the size of the client area of the form.
public propertyCompanyName (inherited from Control) Gets the name of the company or creator of the application containing the control.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyContainsFocus (inherited from Control) Gets a value indicating whether the control, or one of its child controls, currently has the input focus.
public propertyContextMenu (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets the shortcut menu associated with the control.
public propertyControlBox

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether a control box is displayed in the caption bar of the form.
public propertyControls (inherited from Control)

Supported by the .NET Compact Framework.

Gets the collection of controls contained within the control.
public propertyCreated (inherited from Control) Gets a value indicating whether the control has been created.
public propertyCursor (inherited from Control) Gets or sets the cursor that is displayed when the mouse pointer is over the control.
public propertyDataBindings (inherited from Control)

Supported by the .NET Compact Framework.

Gets the data bindings for the control.
public propertyDesktopBounds Gets or sets the size and location of the form on the Windows desktop.
public propertyDesktopLocation Gets or sets the location of the form on the Windows desktop.
public propertyDialogResult

Supported by the .NET Compact Framework.

Gets or sets the dialog result for the form.
public propertyDisplayRectangle (inherited from Control) Gets the rectangle that represents the display area of the control.
public propertyDisposing (inherited from Control) Gets a value indicating whether the control is in the process of being disposed of.
public propertyDock (inherited from Control) Gets or sets which edge of the parent container a control is docked to.
public propertyDockPadding (inherited from ScrollableControl) Gets the dock padding settings for all edges of the control.
public propertyEnabled (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the control can respond to user interaction.
public propertyFocused (inherited from Control)

Supported by the .NET Compact Framework.

Gets a value indicating whether the control has input focus.
public propertyFont (inherited from Control) Gets or sets the font of the text displayed by the control.
public propertyForeColor (inherited from Control) Gets or sets the foreground color of the control.
public propertyFormBorderStyle

Supported by the .NET Compact Framework.

Gets or sets the border style of the form.
public propertyHandle (inherited from Control) Gets the window handle that the control is bound to.
public propertyHasChildren (inherited from Control) Gets a value indicating whether the control contains one or more child controls.
public propertyHeight (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets the height of the control.
public propertyHelpButton Gets or sets a value indicating whether a Help button should be displayed in the caption box of the form.
public propertyIcon

Supported by the .NET Compact Framework.

Gets or sets the icon for the form.
public propertyImeMode (inherited from Control) Gets or sets the Input Method Editor (IME) mode of the control.
public propertyInvokeRequired (inherited from Control) Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
public propertyIsAccessible (inherited from Control) Gets or sets a value indicating whether the control is visible to accessibility applications.
public propertyIsDisposed (inherited from Control) Gets a value indicating whether the control has been disposed of.
public propertyIsHandleCreated (inherited from Control) Gets a value indicating whether the control has a handle associated with it.
public propertyIsMdiChild Gets a value indicating whether the form is a multiple document interface (MDI) child form.
public propertyIsMdiContainer Gets or sets a value indicating whether the form is a container for multiple document interface (MDI) child forms.
public propertyKeyPreview Gets or sets a value indicating whether the form will receive key events before the event is passed to the control that has focus.
public propertyLeft (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
public propertyLocation (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
public propertyMaximizeBox

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the maximize button is displayed in the caption bar of the form.
public propertyMaximumSize Gets the maximum size the form can be resized to.
public propertyMdiChildren Gets an array of forms that represent the multiple document interface (MDI) child forms that are parented to this form.
public propertyMdiParent Gets or sets the current multiple document interface (MDI) parent form of this form.
public propertyMenu

Supported by the .NET Compact Framework.

Gets or sets the MainMenu that is displayed in the form.
public propertyMergedMenu Gets the merged menu for the form.
public propertyMinimizeBox

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the minimize button is displayed in the caption bar of the form.
public propertyMinimumSize Gets or sets the minimum size the form can be resized to.
public propertyModal Gets a value indicating whether this form is displayed modally.
public propertyName (inherited from Control) Gets or sets the name of the control.
public propertyOpacity Gets or sets the opacity level of the form.
public propertyOwnedForms Gets an array of Form objects that represent all forms that are owned by this form.
public propertyOwner Gets or sets the form that owns this form.
public propertyParent (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets the parent container of the control.
public propertyParentForm (inherited from ContainerControl) Gets the form that the container control is assigned to.
public propertyProductName (inherited from Control) Gets the product name of the assembly containing the control.
public propertyProductVersion (inherited from Control) Gets the version of the assembly containing the control.
public propertyRecreatingHandle (inherited from Control) Gets a value indicating whether the control is currently re-creating its handle.
public propertyRegion (inherited from Control) Gets or sets the window region associated with the control.
public propertyRight (inherited from Control)

Supported by the .NET Compact Framework.

Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
public propertyRightToLeft (inherited from Control) Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.
public propertyShowInTaskbar Gets or sets a value indicating whether the form is displayed in the Windows taskbar.
public propertySite (inherited from Control) Overridden. Gets or sets the site of the control.
public propertySize

Supported by the .NET Compact Framework.

Gets or sets the size of the form.
public propertySizeGripStyle Gets or sets the style of the size grip to display in the lower-right corner of the form.
public propertyStartPosition Gets or sets the starting position of the form at run time.
public propertyTabStop (inherited from Control) Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
public propertyTag (inherited from Control) Gets or sets the object that contains data about the control.
public propertyText (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets the text associated with this control.
public propertyTop (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
public propertyTopLevel Gets or sets a value indicating whether to display the form as a top-level window.
public propertyTopLevelControl (inherited from Control)

Supported by the .NET Compact Framework.

Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
public propertyTopMost Gets or sets a value indicating whether the form should be displayed as a topmost form.
public propertyTransparencyKey Gets or sets the color that will represent transparent areas of the form.
public propertyVisible (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the control is displayed.
public propertyWidth (inherited from Control)

Supported by the .NET Compact Framework.

Gets or sets the width of the control.
public propertyWindowState

Supported by the .NET Compact Framework.

Gets or sets the form's window state.

Public Methods

public methodActivate Activates the form and gives it focus.
public methodAddOwnedForm Adds an owned form to this form.
public methodBeginInvoke (inherited from Control) Overloaded. Executes a delegate asynchronously on the thread that the control's underlying handle was created on.
public methodBringToFront (inherited from Control)

Supported by the .NET Compact Framework.

Brings the control to the front of the z-order.
public methodClose

Supported by the .NET Compact Framework.

Closes the form.
public methodContains (inherited from Control) Retrieves a value indicating whether the specified control is a child of the control.
public methodCreateControl (inherited from Control) Forces the creation of the control, including the creation of the handle and any child controls.
public methodCreateGraphics (inherited from Control)

Supported by the .NET Compact Framework.

Creates the Graphics object for the control.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose (inherited from Component)

Supported by the .NET Compact Framework.

Overloaded. Releases the resources used by the Component.
public methodDoDragDrop (inherited from Control) Begins a drag-and-drop operation.
public methodEndInvoke (inherited from Control) Retrieves the return value of the asynchronous operation represented by the IAsyncResult object passed.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodFindForm (inherited from Control) Retrieves the form that the control is on.
public methodFocus (inherited from Control)

Supported by the .NET Compact Framework.

Sets input focus to the control.
public methodstatic (Shared in Visual Basic)GetAutoScaleSize Gets the sized when autoscaling the form based on a specified font.
public methodGetChildAtPoint (inherited from Control) Retrieves the child control that is located at the specified coordinates.
public methodGetContainerControl (inherited from Control) Returns the next ContainerControl up the control's chain of parent controls.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetNextControl (inherited from Control) Retrieves the next control forward or back in the tab order of child controls.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodHide (inherited from Control)

Supported by the .NET Compact Framework.

Conceals the control from the user.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodInvalidate (inherited from Control)

Supported by the .NET Compact Framework.

Overloaded. Invalidates a specific region of the control and causes a paint message to be sent to the control.
public methodInvoke (inherited from Control)

Supported by the .NET Compact Framework.

Overloaded. Executes a delegate on the thread that owns the control's underlying window handle.
public methodLayoutMdi Arranges the multiple document interface (MDI) child forms within the MDI parent form.
public methodPerformLayout (inherited from Control) Overloaded. Forces the control to apply layout logic to child controls.
public methodPointToClient (inherited from Control)

Supported by the .NET Compact Framework.

Computes the location of the specified screen point into client coordinates.
public methodPointToScreen (inherited from Control)

Supported by the .NET Compact Framework.

Computes the location of the specified client point into screen coordinates.
public methodPreProcessMessage (inherited from Control) Preprocesses input messages within the message loop before they are dispatched.
public methodRectangleToClient (inherited from Control)

Supported by the .NET Compact Framework.

Computes the size and location of the specified screen rectangle in client coordinates.
public methodRectangleToScreen (inherited from Control)

Supported by the .NET Compact Framework.

Computes the size and location of the specified client rectangle in screen coordinates.
public methodRefresh (inherited from Control)

Supported by the .NET Compact Framework.

Forces the control to invalidate its client area and immediately redraw itself and any child controls.
public methodRemoveOwnedForm Removes an owned form from this form.
public methodResetBackColor (inherited from Control) Resets the BackColor property to its default value.
public methodResetBindings (inherited from Control) Resets the DataBindings property to its default value.
public methodResetCursor (inherited from Control) Resets the Cursor property to its default value.
public methodResetFont (inherited from Control) Resets the Font property to its default value.
public methodResetForeColor (inherited from Control) Resets the ForeColor property to its default value.
public methodResetImeMode (inherited from Control) Resets the ImeMode property to its default value.
public methodResetRightToLeft (inherited from Control) Resets the RightToLeft property to its default value.
public methodResetText (inherited from Control) Resets the Text property to its default value.
public methodResumeLayout (inherited from Control) Overloaded. Resumes normal layout logic.
public methodScale (inherited from Control) Overloaded. Scales the control and any child controls.
public methodScrollControlIntoView (inherited from ScrollableControl) Scrolls the specified control into view on an auto-scroll enabled control.
public methodSelect (inherited from Control) Overloaded. Activates a control.
public methodSelectNextControl (inherited from Control) Activates the next control.
public methodSendToBack (inherited from Control)

Supported by the .NET Compact Framework.

Sends the control to the back of the z-order.
public methodSetAutoScrollMargin (inherited from ScrollableControl) Sets the size of the auto-scroll margins.
public methodSetBounds (inherited from Control) Overloaded. Sets the bounds of the control.
public methodSetDesktopBounds Sets the bounds of the form in desktop coordinates.
public methodSetDesktopLocation Sets the location of the form in desktop coordinates.
public methodShow (inherited from Control)

Supported by the .NET Compact Framework.

Displays the control to the user.
public methodShowDialog

Supported by the .NET Compact Framework.

Overloaded. Shows the form as a modal dialog box.
public methodSuspendLayout (inherited from Control) Temporarily suspends the layout logic for the control.
public methodToString

Supported by the .NET Compact Framework.

Overridden. See Object.ToString.
public methodUpdate (inherited from Control)

Supported by the .NET Compact Framework.

Causes the control to redraw the invalidated regions within its client area.
public methodValidate (inherited from ContainerControl) Validates the last invalidated control and its ancestors up through, but not including, the current control.

Public Events

public eventActivated Occurs when the form is activated in code or by the user.
public eventBackColorChanged (inherited from Control) Occurs when the value of the BackColor property changes.
public eventBackgroundImageChanged (inherited from Control) Occurs when the value of the BackgroundImage property changes.
public eventBindingContextChanged (inherited from Control) Occurs when the value of the BindingContext property changes.
public eventCausesValidationChanged (inherited from Control) Occurs when the value of the CausesValidation property changes.
public eventChangeUICues (inherited from Control) Occurs when the focus or keyboard user interface (UI) cues change.
public eventClick (inherited from Control) Occurs when the control is clicked.
public eventClosed Occurs when the form is closed.
public eventClosing Occurs when the form is closing.
public eventContextMenuChanged (inherited from Control) Occurs when the value of the ContextMenu property changes.
public eventControlAdded (inherited from Control) Occurs when a new control is added to the Control.ControlCollection.
public eventControlRemoved (inherited from Control) Occurs when a control is removed from the Control.ControlCollection.
public eventCursorChanged (inherited from Control) Occurs when the value of the Cursor property changes.
public eventDeactivate Occurs when the form loses focus and is not the active form.
public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventDockChanged (inherited from Control) Occurs when the value of the Dock property changes.
public eventDoubleClick (inherited from Control) Occurs when the control is double-clicked.
public eventDragDrop (inherited from Control) Occurs when a drag-and-drop operation is completed.
public eventDragEnter (inherited from Control) Occurs when an object is dragged into the control's bounds.
public eventDragLeave (inherited from Control) Occurs when an object is dragged out of the control's bounds.
public eventDragOver (inherited from Control) Occurs when an object is dragged over the control's bounds.
public eventEnabledChanged (inherited from Control) Occurs when the Enabled property value has changed.
public eventEnter (inherited from Control) Occurs when the control is entered.
public eventFontChanged (inherited from Control) Occurs when the Font property value changes.
public eventForeColorChanged (inherited from Control) Occurs when the ForeColor property value changes.
public eventGiveFeedback (inherited from Control) Occurs during a drag operation.
public eventGotFocus (inherited from Control) Occurs when the control receives focus.
public eventHandleCreated (inherited from Control) Occurs when a handle is created for the control.
public eventHandleDestroyed (inherited from Control) Occurs when the control's handle is in the process of being destroyed.
public eventHelpRequested (inherited from Control) Occurs when the user requests help for a control.
public eventImeModeChanged (inherited from Control) Occurs when the ImeMode property has changed.
public eventInputLanguageChanged Occurs after the input language of the form has changed.
public eventInputLanguageChanging Occurs when the user attempts to change the input language for the form.
public eventInvalidated (inherited from Control) Occurs when a control's display requires redrawing.
public eventKeyDown (inherited from Control) Occurs when a key is pressed while the control has focus.
public eventKeyPress (inherited from Control) Occurs when a key is pressed while the control has focus.
public eventKeyUp (inherited from Control) Occurs when a key is released while the control has focus.
public eventLayout (inherited from Control) Occurs when a control should reposition its child controls.
public eventLeave (inherited from Control) Occurs when the input focus leaves the control.
public eventLoad Occurs before a form is displayed for the first time.
public eventLocationChanged (inherited from Control) Occurs when the Location property value has changed.
public eventLostFocus (inherited from Control) Occurs when the control loses focus.
public eventMaximizedBoundsChanged Occurs when the value of the MaximizedBounds property has changed.
public eventMaximumSizeChanged Occurs when the value of the MaximumSize property has changed.
public eventMdiChildActivate Occurs when a multiple document interface (MDI) child form is activated or closed within an MDI application.
public eventMenuComplete Occurs when the menu of a form loses focus.
public eventMenuStart Occurs when the menu of a form receives focus.
public eventMinimumSizeChanged Occurs when the value of the MinimumSize property has changed.
public eventMouseDown (inherited from Control) Occurs when the mouse pointer is over the control and a mouse button is pressed.
public eventMouseEnter (inherited from Control) Occurs when the mouse pointer enters the control.
public eventMouseHover (inherited from Control) Occurs when the mouse pointer hovers over the control.
public eventMouseLeave (inherited from Control) Occurs when the mouse pointer leaves the control.
public eventMouseMove (inherited from Control) Occurs when the mouse pointer is moved over the control.
public eventMouseUp (inherited from Control) Occurs when the mouse pointer is over the control and a mouse button is released.
public eventMouseWheel (inherited from Control) Occurs when the mouse wheel moves while the control has focus.
public eventMove (inherited from Control) Occurs when the control is moved.
public eventPaint (inherited from Control) Occurs when the control is redrawn.
public eventParentChanged (inherited from Control) Occurs when the Parent property value changes.
public eventQueryAccessibilityHelp (inherited from Control) Occurs when AccessibleObject is providing help to accessibility applications.
public eventQueryContinueDrag (inherited from Control) Occurs during a drag-and-drop operation and allows the drag source to determine whether the drag-and-drop operation should be canceled.
public eventResize (inherited from Control) Occurs when the control is resized.
public eventRightToLeftChanged (inherited from Control) Occurs when the RightToLeft property value changes.
public eventSizeChanged (inherited from Control) Occurs when the Size property value changes.
public eventStyleChanged (inherited from Control) Occurs when the control style changes.
public eventSystemColorsChanged (inherited from Control) Occurs when the system colors change.
public eventTabStopChanged (inherited from Control) Occurs when the TabStop property value changes.
public eventTextChanged (inherited from Control) Occurs when the Text property value changes.
public eventValidated (inherited from Control) Occurs when the control is finished validating.
public eventValidating (inherited from Control) Occurs when the control is validating.
public eventVisibleChanged (inherited from Control) Occurs when the Visible property value changes.

Protected Properties

protected propertyCreateParams Overridden. See Control.CreateParams.
protected propertyDefaultImeMode Overridden. Gets the default Input Method Editor (IME) mode supported by the control.
protected propertyDefaultSize Overridden. See Control.DefaultSize.
protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.
protected propertyFontHeight (inherited from Control) Gets or sets the height of the font of the control.
protected propertyHScroll (inherited from ScrollableControl) Gets or sets a value indicating whether the horizontal scroll bar is visible.
protected propertyMaximizedBounds Gets and sets the size of the form when it is maximized.
protected propertyResizeRedraw (inherited from Control) Gets or sets a value indicating whether the control redraws itself when resized.
protected propertyShowFocusCues (inherited from Control) Gets a value indicating whether the control should display focus rectangles.
protected propertyShowKeyboardCues (inherited from Control) Gets a value indicating whether the control should display keyboard shortcuts.
protected propertyVScroll (inherited from ScrollableControl) Gets or sets a value indicating whether the vertical scroll bar is visible.

Protected Methods

protected methodAccessibilityNotifyClients (inherited from Control) Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.
protected methodCreateAccessibilityInstance (inherited from Control) Creates a new accessibility object for the control.
protected methodCreateControlsInstance Overridden. See Control.CreateControlsInstance.
protected methodCreateHandle Overridden. See Control.CreateHandle.
protected methodDefWndProc Overridden. See Control.DefWndProc.
protected methodDestroyHandle (inherited from Control) Destroys the handle associated with the control.
protected methodDispose

Supported by the .NET Compact Framework.

Overloaded.
protected methodFinalize (inherited from Component)

Supported by the .NET Compact Framework.

Overridden. Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodGetStyle (inherited from Control) Retrieves the value of the specified control style bit for the control.
protected methodGetTopLevel (inherited from Control) Determines if the control is a top-level control.
protected methodInitLayout (inherited from Control) Called after the control has been added to another container.
protected methodInvokeGotFocus (inherited from Control) Raises the GotFocus event for the specified control.
protected methodInvokeLostFocus (inherited from Control) Raises the LostFocus event for the specified control.
protected methodInvokeOnClick (inherited from Control) Raises the Click event for the specified control.
protected methodInvokePaint (inherited from Control) Raises the Paint event for the specified control.
protected methodInvokePaintBackground (inherited from Control) Raises the PaintBackground event for the specified control.
protected methodIsInputChar (inherited from Control) Determines if a character is an input character that the control recognizes.
protected methodIsInputKey (inherited from Control) Determines whether the specified key is a regular input key or a special key that requires preprocessing.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodOnActivated

Supported by the .NET Compact Framework.

Raises the Activated event.
protected methodOnBackColorChanged (inherited from Control) Raises the BackColorChanged event.
protected methodOnBackgroundImageChanged (inherited from Control) Raises the BackgroundImageChanged event.
protected methodOnBindingContextChanged (inherited from Control)

Supported by the .NET Compact Framework.

Raises the BindingContextChanged event.
protected methodOnCausesValidationChanged (inherited from Control) Raises the CausesValidationChanged event.
protected methodOnChangeUICues (inherited from Control) Raises the ChangeUICues event.
protected methodOnClick (inherited from Control)

Supported by the .NET Compact Framework.

Raises the Click event.
protected methodOnClosed

Supported by the .NET Compact Framework.

Raises the Closed event.
protected methodOnClosing

Supported by the .NET Compact Framework.

Raises the Closing event.
protected methodOnContextMenuChanged (inherited from Control) Raises the ContextMenuChanged event.
protected methodOnControlAdded (inherited from Control) Raises the ControlAdded event.
protected methodOnControlRemoved (inherited from Control) Raises the ControlRemoved event.
protected methodOnCreateControl Overridden. See Control.OnCreateControl.
protected methodOnCursorChanged (inherited from Control) Raises the CursorChanged event.
protected methodOnDeactivate

Supported by the .NET Compact Framework.

Raises the Deactivate event.
protected methodOnDockChanged (inherited from Control) Raises the DockChanged event.
protected methodOnDoubleClick (inherited from Control) Raises the DoubleClick event.
protected methodOnDragDrop (inherited from Control) Raises the DragDrop event.
protected methodOnDragEnter (inherited from Control) Raises the DragEnter event.
protected methodOnDragLeave (inherited from Control) Raises the DragLeave event.
protected methodOnDragOver (inherited from Control) Raises the DragOver event.
protected methodOnEnabledChanged (inherited from Control)

Supported by the .NET Compact Framework.

Raises the EnabledChanged event.
protected methodOnEnter (inherited from Control) Raises the Enter event.
protected methodOnFontChanged Overridden. See Control.OnFontChanged.
protected methodOnForeColorChanged (inherited from Control) Raises the ForeColorChanged event.
protected methodOnGiveFeedback (inherited from Control) Raises the GiveFeedback event.
protected methodOnGotFocus (inherited from Control)

Supported by the .NET Compact Framework.

Raises the GotFocus event.
protected methodOnHandleCreated Overridden. See Control.OnHandleCreated.
protected methodOnHandleDestroyed Overridden. See Control.OnHandleDestroyed.
protected methodOnHelpRequested (inherited from Control) Raises the HelpRequested event.
protected methodOnImeModeChanged (inherited from Control) Raises the ImeModeChanged event.
protected methodOnInputLanguageChanged Raises the InputLanguageChanged event.
protected methodOnInputLanguageChanging Raises the InputLanguageChanging event.
protected methodOnInvalidated (inherited from Control) Raises the Invalidated event.
protected methodOnKeyDown (inherited from Control)

Supported by the .NET Compact Framework.

Raises the KeyDown event.
protected methodOnKeyPress (inherited from Control)

Supported by the .NET Compact Framework.

Raises the KeyPress event.
protected methodOnKeyUp (inherited from Control)

Supported by the .NET Compact Framework.

Raises the KeyUp event.
protected methodOnLayout (inherited from Control) Raises the Layout event.
protected methodOnLeave (inherited from Control) Raises the Leave event.
protected methodOnLoad

Supported by the .NET Compact Framework.

Raises the Load event.
protected methodOnLocationChanged (inherited from Control) Raises the LocationChanged event.
protected methodOnLostFocus (inherited from Control)

Supported by the .NET Compact Framework.

Raises the LostFocus event.
protected methodOnMaximizedBoundsChanged Raises the MaximizedBoundsChanged event.
protected methodOnMaximumSizeChanged Raises the MaximumSizeChanged event.
protected methodOnMdiChildActivate Raises the MdiChildActivate event.
protected methodOnMenuComplete Raises the MenuComplete event.
protected methodOnMenuStart Raises the MenuStart event.
protected methodOnMinimumSizeChanged Raises the MinimumSizeChanged event.
protected methodOnMouseDown (inherited from Control)

Supported by the .NET Compact Framework.

Raises the MouseDown event.
protected methodOnMouseEnter (inherited from Control) Raises the MouseEnter event.
protected methodOnMouseHover (inherited from Control) Raises the MouseHover event.
protected methodOnMouseLeave (inherited from Control) Raises the MouseLeave event.
protected methodOnMouseMove (inherited from Control)

Supported by the .NET Compact Framework.

Raises the MouseMove event.
protected methodOnMouseUp (inherited from Control)

Supported by the .NET Compact Framework.

Raises the MouseUp event.
protected methodOnMouseWheel (inherited from Control) Raises the MouseWheel event.
protected methodOnMove (inherited from Control) Raises the Move event.
protected methodOnNotifyMessage (inherited from Control) Notifies the control of Windows messages.
protected methodOnPaint

Supported by the .NET Compact Framework.

Overridden. See Control.OnPaint.
protected methodOnPaintBackground (inherited from Control)

Supported by the .NET Compact Framework.

Paints the background of the control.
protected methodOnParentBackColorChanged (inherited from Control) Raises the BackColorChanged event when the BackColor property value of the control's container changes.
protected methodOnParentBackgroundImageChanged (inherited from Control) Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes.
protected methodOnParentBindingContextChanged (inherited from Control) Raises the BindingContextChanged event when the BindingContext property value of the control's container changes.
protected methodOnParentChanged (inherited from Control)

Supported by the .NET Compact Framework.

Raises the ParentChanged event.
protected methodOnParentEnabledChanged (inherited from Control) Raises the EnabledChanged event when the Enabled property value of the control's container changes.
protected methodOnParentFontChanged (inherited from Control) Raises the FontChanged event when the Font property value of the control's container changes.
protected methodOnParentForeColorChanged (inherited from Control) Raises the ForeColorChanged event when the ForeColor property value of the control's container changes.
protected methodOnParentRightToLeftChanged (inherited from Control) Raises the RightToLeftChanged event when the RightToLeft property value of the control's container changes.
protected methodOnParentVisibleChanged (inherited from Control) Raises the VisibleChanged event when the Visible property value of the control's container changes.
protected methodOnQueryContinueDrag (inherited from Control) Raises the QueryContinueDrag event.
protected methodOnResize

Supported by the .NET Compact Framework.

Overridden. See Control.OnResize.
protected methodOnRightToLeftChanged (inherited from Control) Raises the RightToLeftChanged event.
protected methodOnSizeChanged (inherited from Control) Raises the SizeChanged event.
protected methodOnStyleChanged Overridden. See Control.OnStyleChanged.
protected methodOnSystemColorsChanged (inherited from Control) Raises the SystemColorsChanged event.
protected methodOnTabIndexChanged (inherited from Control) Raises the TabIndexChanged event.
protected methodOnTabStopChanged (inherited from Control) Raises the TabStopChanged event.
protected methodOnTextChanged

Supported by the .NET Compact Framework.

Overridden. See Control.OnTextChanged.
protected methodOnValidated (inherited from Control) Raises the Validated event.
protected methodOnValidating (inherited from Control) Raises the Validating event.
protected methodOnVisibleChanged Overridden. See Control.OnVisibleChanged.
protected methodProcessCmdKey Overridden. See Control.ProcessCmdKey.
protected methodProcessDialogChar (inherited from Control) Processes a dialog character.
protected methodProcessDialogKey Overridden. See Control.ProcessDialogKey.
protected methodProcessKeyEventArgs (inherited from Control) Processes a key message and generates the appropriate control events.
protected methodProcessKeyMessage (inherited from Control) Processes a keyboard message.
protected methodProcessKeyPreview Overridden. See Control.ProcessKeyPreview.
protected methodProcessMnemonic (inherited from Control) Processes a mnemonic character.
protected methodProcessTabKey Overridden. See ContainerControl.ProcessTabKey.
protected methodRecreateHandle (inherited from Control) Forces the re-creation of the handle for the control.
protected methodRtlTranslateAlignment (inherited from Control) Overloaded. Converts the current alignment to the appropriate alignment to support right-to-left text.
protected methodRtlTranslateContent (inherited from Control) Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
protected methodRtlTranslateHorizontal (inherited from Control) Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
protected methodRtlTranslateLeftRight (inherited from Control) Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
protected methodScaleCore Overridden. See Control.ScaleCore.
protected methodSelect Overloaded. Overridden. See Control.Select.
protected methodSetBoundsCore Overridden. See Control.SetBoundsCore.
protected methodSetClientSizeCore Overridden. See Control.SetClientSizeCore.
protected methodSetStyle (inherited from Control) Sets the specified style bit to the specified value.
protected methodSetTopLevel (inherited from Control) Sets the control as the top-level control.
protected methodSetVisibleCore Overridden. See Control.SetVisibleCore.
protected methodUpdateBounds (inherited from Control) Overloaded. Updates the bounds of the control.
protected methodUpdateStyles (inherited from Control) Forces the assigned styles to be reapplied to the control.
protected methodUpdateZOrder (inherited from Control) Updates the control in its parent's z-order.
protected methodWndProc Overridden. See Control.WndProc.

See Also

Form Class | System.Windows.Forms Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft