.Net Framework > v3.0.6920.0 > System > Windows > Forms > Integration > ElementHost ElementHost
Category
Class
Description
A Windows Forms control that can be used to host a Windows Presentation Foundation (WPF) element. 
Assembly
WindowsFormsIntegration
Character
public
Attributes
NameValue/Assignment
DesignerSerializerAttributeWindowsFormsIntegration.Design.ElementHostCodeDomSerializer, WindowsFormsIntegration.Design, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
DesignerCategoryAttributecode
DesignerAttributeWindowsFormsIntegration.Design.ElementHostDesigner, WindowsFormsIntegration.Design, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
ContentPropertyAttributeChild
DefaultEventAttributeChildChanged
Ancestors
Control > Component > MarshalByRefObject > Object
Contstructors
ElementHost()
Properties
AutoSize
BackColorTransparent
Child
DefaultSize
HostContainer
PropertyMap
Events
BindingContextChanged
ChildChanged
Click
ClientSizeChanged
ControlAdded
ControlRemoved
CursorChanged
DoubleClick
DragDrop
DragEnter
DragLeave
DragOver
Enter
FontChanged
ForeColorChanged
GiveFeedback
GotFocus
Invalidated
KeyDown
KeyPress
KeyUp
Layout
Leave
LostFocus
MouseCaptureChanged
MouseClick
MouseDoubleClick
MouseDown
MouseEnter
MouseHover
MouseLeave
MouseMove
MouseUp
MouseWheel
PaddingChanged
Paint
PreviewKeyDown
QueryContinueDrag
Resize
RightToLeftChanged
SizeChanged
TextChanged
Methods
Dispose(Boolean)
EnableModelessKeyboardInterop(Window)
GetPreferredSize(Size)
IsInputChar(Char)
OnGotFocus(EventArgs)
OnHandleCreated(EventArgs)
OnLeave(EventArgs)
OnPaint(PaintEventArgs)
OnPaintBackground(PaintEventArgs)
OnPrint(PaintEventArgs)
OnPropertyChanged(String,Object)
OnVisibleChanged(EventArgs)
ProcessCmdKey(Message@,Keys)
ProcessMnemonic(Char)
ScaleCore(Single,Single)
Select(Boolean,Boolean)
WndProc(Message@)
Tags
0103E2B958, 02E3ABA98D, 034B4F5192
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples