Export (0) Print
Expand All
Expand Minimize

AxHost Methods

The methods of the AxHost class are listed here. For a complete list of AxHost class members, see the AxHost Members topic.

Public Methods

public methodBeginInit Begins the initialization of the ActiveX control.
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) Brings the control to the front of the z-order.
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) 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) Overloaded. Releases the resources used by the Component.
public methodDoDragDrop (inherited from Control) Begins a drag-and-drop operation.
public methodEndInit Ends the initialization of an ActiveX control.
public methodEndInvoke (inherited from Control) Retrieves the return value of the asynchronous operation represented by the IAsyncResult object passed.
public methodEquals (inherited from Object) 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) Sets input focus to the control.
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) 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 methodGetOcx Retrieves a reference to the underlying ActiveX control.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodHasPropertyPages Determines if the ActiveX control has a property page.
public methodHide (inherited from Control) 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) Overloaded. Invalidates a specific region of the control and causes a paint message to be sent to the control.
public methodInvoke (inherited from Control) Overloaded. Executes a delegate on the thread that owns the control's underlying window handle.
public methodPerformLayout (inherited from Control) Overloaded. Forces the control to apply layout logic to child controls.
public methodPointToClient (inherited from Control) Computes the location of the specified screen point into client coordinates.
public methodPointToScreen (inherited from Control) Computes the location of the specified client point into screen coordinates.
public methodPreProcessMessage Overridden. See Control.PreProcessMessage.
public methodRectangleToClient (inherited from Control) Computes the size and location of the specified screen rectangle in client coordinates.
public methodRectangleToScreen (inherited from Control) Computes the size and location of the specified client rectangle in screen coordinates.
public methodRefresh (inherited from Control) Forces the control to invalidate its client area and immediately redraw itself and any child controls.
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 methodSelect (inherited from Control) Overloaded. Activates a control.
public methodSelectNextControl (inherited from Control) Activates the next control.
public methodSendToBack (inherited from Control) Sends the control to the back of the z-order.
public methodSetBounds (inherited from Control) Overloaded. Sets the bounds of the control.
public methodShow (inherited from Control) Displays the control to the user.
public methodShowAboutBox Displays the ActiveX control's About dialog box.
public methodShowPropertyPages Overloaded. Displays the property pages associated with the ActiveX control.
public methodSuspendLayout (inherited from Control) Temporarily suspends the layout logic for the control.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodUpdate (inherited from Control) Causes the control to redraw the invalidated regions within its client area.

Protected Methods

protected methodAccessibilityNotifyClients (inherited from Control) Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.
protected methodAttachInterfaces When overridden in a derived class, attaches interfaces to the underlying ActiveX control.
protected methodCreateAccessibilityInstance (inherited from Control) Creates a new accessibility object for the control.
protected methodCreateControlsInstance (inherited from Control) Creates a new instance of the control collection for the control.
protected methodCreateHandle Overridden. See Control.CreateHandle.
protected methodDefWndProc (inherited from Control) Sends the specified message to the default window procedure.
protected methodDestroyHandle Overridden. See Control.DestroyHandle.
protected methodDispose Overloaded. Overridden. See Control.Dispose.
protected methodFinalize (inherited from Component) 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 Overridden. Determines if a character is an input character that the ActiveX 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) Creates a shallow copy of the current Object.
protected methodOnBackColorChanged Overridden. See Control.OnBackColorChanged.
protected methodOnBackgroundImageChanged (inherited from Control) Raises the BackgroundImageChanged event.
protected methodOnBindingContextChanged (inherited from Control) 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) Raises the Click 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 (inherited from Control) Raises the CreateControl event.
protected methodOnCursorChanged (inherited from Control) Raises the CursorChanged 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) Raises the EnabledChanged event.
protected methodOnEnter (inherited from Control) Raises the Enter event.
protected methodOnFontChanged Overridden. See Control.OnFontChanged.
protected methodOnForeColorChanged Overridden. See Control.OnForeColorChanged.
protected methodOnGiveFeedback (inherited from Control) Raises the GiveFeedback event.
protected methodOnGotFocus (inherited from Control) Raises the GotFocus event.
protected methodOnHandleCreated Overridden. See Control.OnHandleCreated.
protected methodOnHandleDestroyed (inherited from Control) Raises the HandleDestroyed event.
protected methodOnHelpRequested (inherited from Control) Raises the HelpRequested event.
protected methodOnImeModeChanged (inherited from Control) Raises the ImeModeChanged event.
protected methodOnInvalidated (inherited from Control) Raises the Invalidated event.
protected methodOnKeyDown (inherited from Control) Raises the KeyDown event.
protected methodOnKeyPress (inherited from Control) Raises the KeyPress event.
protected methodOnKeyUp (inherited from Control) Raises the KeyUp event.
protected methodOnLayout (inherited from Control) Raises the Layout event.
protected methodOnLeave (inherited from Control) Raises the Leave event.
protected methodOnLocationChanged (inherited from Control) Raises the LocationChanged event.
protected methodOnLostFocus Overridden. See Control.OnLostFocus.
protected methodOnMouseDown (inherited from Control) 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) Raises the MouseMove event.
protected methodOnMouseUp (inherited from Control) 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 (inherited from Control) Raises the Paint event.
protected methodOnPaintBackground (inherited from Control) 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) 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 (inherited from Control) Raises the Resize event.
protected methodOnRightToLeftChanged (inherited from Control) Raises the RightToLeftChanged event.
protected methodOnSizeChanged (inherited from Control) Raises the SizeChanged event.
protected methodOnStyleChanged (inherited from Control) Raises the StyleChanged event.
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 (inherited from Control) Raises the TextChanged event.
protected methodOnValidated (inherited from Control) Raises the Validated event.
protected methodOnValidating (inherited from Control) Raises the Validating event.
protected methodOnVisibleChanged (inherited from Control) Raises the VisibleChanged event.
protected methodProcessCmdKey (inherited from Control) Processes a command key.
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 (inherited from Control) Previews a keyboard message.
protected methodProcessMnemonic Overridden. See Control.ProcessMnemonic.
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 (inherited from Control) Performs the work of scaling the entire control and any child controls.
protected methodSelect (inherited from Control) Overloaded. Activates a control.
protected methodSetAboutBoxDelegate Calls the ShowAboutBox method to display the ActiveX control's About dialog box.
protected methodSetBoundsCore Overridden. See Control.SetBoundsCore.
protected methodSetClientSizeCore (inherited from Control) Sets the size of the client area of the control.
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

AxHost Class | System.Windows.Forms Namespace

Show:
© 2014 Microsoft