.Net Framework > v2.0.50727 > System > Windows > Forms > AxHost AxHost
Category
Class
Description
Wraps ActiveX controls and exposes them as fully featured Windows Forms controls.
Assembly
System.Windows.Forms
Character
public
Attributes
NameValue/Assignment
DefaultEventAttributeEnter
ToolboxItemAttributeFalse
ComVisibleAttributeTrue
ClassInterfaceAttributeSystem.Runtime.InteropServices.ClassInterfaceType.AutoDispatch
DesignTimeVisibleAttributeFalse
DesignerAttributeSystem.Windows.Forms.Design.AxHostDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
PermissionSetAttributeSystem.Security.Permissions.SecurityAction.InheritanceDemand; Name=FullTrust
PermissionSetAttributeSystem.Security.Permissions.SecurityAction.LinkDemand; Name=FullTrust
Ancestors
Control > Component > MarshalByRefObject > Object
Implements
ISupportInitialize, ICustomTypeDescriptor
Contstructors
AxHost(String)
AxHost(String,Int32)
Properties
BackColor
BackgroundImage
BackgroundImageLayout
ContainingControl
ContextMenu
CreateParams
Cursor
DefaultSize
EditMode
Enabled
Font
ForeColor
HasAboutBox
ImeMode
OcxState
RightToLeft
Site
Text
Events
BackColorChanged
BackgroundImageChanged
BackgroundImageLayoutChanged
BindingContextChanged
ChangeUICues
Click
ContextMenuChanged
CursorChanged
DoubleClick
DragDrop
DragEnter
DragLeave
DragOver
EnabledChanged
FontChanged
ForeColorChanged
GiveFeedback
HelpRequested
ImeModeChanged
KeyDown
KeyPress
KeyUp
Layout
MouseClick
MouseDoubleClick
MouseDown
MouseEnter
MouseHover
MouseLeave
MouseMove
MouseUp
MouseWheel
Paint
QueryAccessibilityHelp
QueryContinueDrag
RightToLeftChanged
StyleChanged
TextChanged
Methods
AttachInterfaces()
BeginInit()
CreateHandle()
CreateInstanceCore(Guid)
CreateSink()
DestroyHandle()
DetachSink()
Dispose(Boolean)
DoVerb(Int32)
DrawToBitmap(Bitmap,Rectangle)
EndInit()
GetColorFromOleColor(UInt32)
GetFontFromIFont(Object)
GetFontFromIFontDisp(Object)
GetIFontDispFromFont(Font)
GetIFontFromFont(Font)
GetIPictureDispFromPicture(Image)
GetIPictureFromCursor(Cursor)
GetIPictureFromPicture(Image)
GetOADateFromTime(DateTime)
GetOcx()
GetOleColorFromColor(Color)
GetPictureFromIPicture(Object)
GetPictureFromIPictureDisp(Object)
GetScaledBounds(Rectangle,SizeF,BoundsSpecified)
GetTimeFromOADate(Double)
HasPropertyPages()
InvokeEditMode()
IsInputChar(Char)
MakeDirty()
OnBackColorChanged(EventArgs)
OnFontChanged(EventArgs)
OnForeColorChanged(EventArgs)
OnHandleCreated(EventArgs)
OnInPlaceActive()
OnLostFocus(EventArgs)
PreProcessMessage(Message@)
ProcessDialogKey(Keys)
ProcessMnemonic(Char)
PropsValid()
RaiseOnMouseDown(Int16,Int16,Int32,Int32)
RaiseOnMouseDown(Int16,Int16,Single,Single)
RaiseOnMouseDown(Object,Object,Object,Object)
RaiseOnMouseMove(Int16,Int16,Int32,Int32)
RaiseOnMouseMove(Int16,Int16,Single,Single)
RaiseOnMouseMove(Object,Object,Object,Object)
RaiseOnMouseUp(Int16,Int16,Int32,Int32)
RaiseOnMouseUp(Int16,Int16,Single,Single)
RaiseOnMouseUp(Object,Object,Object,Object)
SetAboutBoxDelegate(AboutBoxDelegate)
SetBoundsCore(Int32,Int32,Int32,Int32,BoundsSpecified)
SetVisibleCore(Boolean)
ShowAboutBox()
ShowPropertyPages()
ShowPropertyPages(Control)
GetAttributes()
GetClassName()
GetComponentName()
GetConverter()
GetDefaultEvent()
GetDefaultProperty()
GetEditor()
GetEvents()
GetEvents()
GetProperties()
GetProperties()
GetPropertyOwner()
WndProc(Message@)
Types
AxComponentEditor
ClsidAttribute
ConnectionPointCookie
InvalidActiveXStateException
State
StateConverter
TypeLibraryTimeStampAttribute
Tags
0103E2B958, 02E3ABA98D, 0376596F91
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples