System.Windows.Forms.AxHost: Method Members

The methods of System.Windows.Forms.AxHost are listed below. For a list of all members, see the AxHost Members list.

See Also: Inherited members from System.Windows.Forms.Control

Public Methods

BeginInit()

Begins the initialization of the ActiveX control.

DoVerb(int)

Requests that an object perform an action in response to an end-user's action.

DrawToBitmap(System.Drawing.Bitmap, System.Drawing.Rectangle)

This method is not supported by this control.

EndInit()

Ends the initialization of an ActiveX control.

GetOcx() : object

Retrieves a reference to the underlying ActiveX control.

HasPropertyPages() : bool

Determines if the ActiveX control has a property page.

InvokeEditMode()

Attempts to activate the editing mode of the hosted control.

MakeDirty()

Announces to the component change service that the System.Windows.Forms.AxHost has changed.

override
PreProcessMessage(ref Message) : bool
Documentation for this section has not yet been entered.
ShowAboutBox()

Displays the ActiveX control's About dialog box.

ShowPropertyPages()

Displays the property pages associated with the ActiveX control.

ShowPropertyPages(Control)

Displays the property pages associated with the ActiveX control assigned to the specified parent control.

Protected Methods

AttachInterfaces()

When overridden in a derived class, attaches interfaces to the underlying ActiveX control.

override
CreateHandle()
Documentation for this section has not yet been entered.
CreateInstanceCore(Guid) : object

Called by the system to create the ActiveX control.

CreateSink()

Called by the control to prepare it for listening to events.

override
DestroyHandle()
Documentation for this section has not yet been entered.
DetachSink()

Called by the control when it stops listening to events.

override
Dispose(bool)
Documentation for this section has not yet been entered.
static
GetColorFromOleColor(uint) : System.Drawing.Color

Returns a System.Drawing.Color structure that corresponds to the specified OLE color value.

static
GetFontFromIFont(object) : System.Drawing.Font

Returns a System.Drawing.Font created from the specified OLE tp://go.microsoft.com/fwlink/?LinkId=166075 object.

static
GetFontFromIFontDisp(object) : System.Drawing.Font

Returns a System.Drawing.Font created from the specified OLE tp://go.microsoft.com/fwlink/?LinkId=166073 object.

static
GetIFontDispFromFont(System.Drawing.Font) : object

Returns an OLE tp://go.microsoft.com/fwlink/?LinkId=166073 object created from the specified System.Drawing.Font object.

static
GetIFontFromFont(System.Drawing.Font) : object

Returns an OLE tp://go.microsoft.com/fwlink/?LinkId=166075 object created from the specified System.Drawing.Font object.

static
GetIPictureDispFromPicture(System.Drawing.Image) : object

Returns an OLE IPictureDisp object corresponding to the specified System.Drawing.Image.

static
GetIPictureFromCursor(Cursor) : object

Returns an OLE IPicture object corresponding to the specified System.Windows.Forms.Cursor.

static
GetIPictureFromPicture(System.Drawing.Image) : object

Returns an OLE IPicture object corresponding to the specified System.Drawing.Image.

static
GetOADateFromTime(DateTime) : double

Returns an OLE Automation date that corresponds to the specified DateTime structure.

static
GetOleColorFromColor(System.Drawing.Color) : uint

Returns an OLE color value that corresponds to the specified System.Drawing.Color structure.

static
GetPictureFromIPicture(object) : System.Drawing.Image

Returns an System.Drawing.Image corresponding to the specified OLE IPicture object.

static
GetPictureFromIPictureDisp(object) : System.Drawing.Image

Returns an System.Drawing.Image corresponding to the specified OLE IPictureDisp object.

GetScaledBounds(System.Drawing.Rectangle, System.Drawing.SizeF, BoundsSpecified) : System.Drawing.Rectangle

Called by the system to retrieve the current bounds of the ActiveX control.

static
GetTimeFromOADate(double) : DateTime

Returns a DateTime structure that corresponds to the specified OLE Automation date.

override
IsInputChar(char) : bool

Determines if a character is an input character that the ActiveX control recognizes.

override
OnBackColorChanged(EventArgs)
Documentation for this section has not yet been entered.
override
OnFontChanged(EventArgs)
Documentation for this section has not yet been entered.
override
OnForeColorChanged(EventArgs)
Documentation for this section has not yet been entered.
override
OnHandleCreated(EventArgs)
Documentation for this section has not yet been entered.
OnInPlaceActive()

Called when the control transitions to the in-place active state.

override
OnLostFocus(EventArgs)
Documentation for this section has not yet been entered.
override
ProcessDialogKey(Keys) : bool
Documentation for this section has not yet been entered.
override
ProcessMnemonic(char) : bool
Documentation for this section has not yet been entered.
PropsValid() : bool

Returns a value that indicates whether the hosted control is in a state in which its properties can be accessed.

RaiseOnMouseDown(short, short, int, int)

Raises the AxHost.MouseDown event using the specified 32-bit signed integers.

RaiseOnMouseDown(short, short, float, float)

Raises the AxHost.MouseDown event using the specified single-precision floating-point numbers.

RaiseOnMouseDown(object, object, object, object)

Raises the AxHost.MouseDown event using the specified objects.

RaiseOnMouseMove(short, short, int, int)

Raises the AxHost.MouseMove event using the specified 32-bit signed integers.

RaiseOnMouseMove(short, short, float, float)

Raises the AxHost.MouseMove event using the specified single-precision floating-point numbers.

RaiseOnMouseMove(object, object, object, object)

Raises the AxHost.MouseMove event using the specified objects.

RaiseOnMouseUp(short, short, int, int)

Raises the AxHost.MouseUp event using the specified 32-bit signed integers.

RaiseOnMouseUp(short, short, float, float)

Raises the AxHost.MouseUp event using the specified single-precision floating-point numbers.

RaiseOnMouseUp(object, object, object, object)

Raises the AxHost.MouseUp event using the specified objects.

SetAboutBoxDelegate(AxHost.AboutBoxDelegate)
Documentation for this section has not yet been entered.
override
SetBoundsCore(int, int, int, int, BoundsSpecified)
Documentation for this section has not yet been entered.
override
SetVisibleCore(bool)
Documentation for this section has not yet been entered.
override
WndProc(ref Message)
Documentation for this section has not yet been entered.