Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
6 contributors

Users who have contributed to this file

@mairaw @yishengjin1413 @dend @TianqiZhang @openpublishbuild @svick
2560 lines (2415 sloc) 146 KB
<Type Name="ElementHost" FullName="System.Windows.Forms.Integration.ElementHost">
<TypeSignature Language="C#" Value="public class ElementHost : System.Windows.Forms.Control" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ElementHost extends System.Windows.Forms.Control" />
<TypeSignature Language="DocId" Value="T:System.Windows.Forms.Integration.ElementHost" />
<TypeSignature Language="VB.NET" Value="Public Class ElementHost&#xA;Inherits Control" />
<TypeSignature Language="C++ CLI" Value="public ref class ElementHost : System::Windows::Forms::Control" />
<TypeSignature Language="F#" Value="type ElementHost = class&#xA; inherit Control" />
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Forms.Control</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultEvent("ChildChanged")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netcore-3.0">
<AttributeName>System.ComponentModel.Design.Serialization.DesignerSerializer("WindowsFormsIntegration.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")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netcore-3.0">
<AttributeName>System.ComponentModel.Designer("WindowsFormsIntegration.Design.ElementHostDesigner, WindowsFormsIntegration.Design, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.DesignerCategory("code")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Windows.Markup.ContentProperty("Child")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A Windows Forms control that can be used to host a Windows Presentation Foundation (WPF) element.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Windows.Forms.Integration.ElementHost> control to place a [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] <xref:System.Windows.UIElement> on your [!INCLUDE[TLA#tla_winforms](~/includes/tlasharptla-winforms-md.md)] control or form.
To host a [!INCLUDE[TLA#tla_winforms](~/includes/tlasharptla-winforms-md.md)] control in a [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element, use the <xref:System.Windows.Forms.Integration.WindowsFormsHost> element.
> [!NOTE]
> WindowsFormsIntegration.dll is installed with the [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] assemblies. The default location for the assembly is %programfiles%\Reference Assemblies\Microsoft\Framework\v3.0\WindowsFormsIntegration.dll.
To host a [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element in a Windows Form, you must assign the [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element to the <xref:System.Windows.Forms.Integration.ElementHost.Child%2A> property.
Use the <xref:System.Windows.Forms.Integration.ElementHost.PropertyMap%2A> property to assign custom mappings between an <xref:System.Windows.Forms.Integration.ElementHost> control and its hosted [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element. For more information, see [Windows Forms and WPF Property Mapping](~/docs/framework/wpf/advanced/windows-forms-and-wpf-property-mapping.md).
## Examples
The following code example demonstrates how to use the <xref:System.Windows.Forms.Integration.ElementHost> control to host a [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element. For more information, see [Walkthrough: Hosting a 3-D WPF Composite Control in Windows Forms](~/docs/framework/wpf/advanced/walkthrough-hosting-a-3-d-wpf-composite-control-in-windows-forms.md).
[!code-csharp[HostingWpfUserControlInWf#11](~/samples/snippets/csharp/VS_Snippets_Wpf/HostingWpfUserControlInWf/CSharp/WpfUserControlHost/Form1.cs#11)]
[!code-vb[HostingWpfUserControlInWf#11](~/samples/snippets/visualbasic/VS_Snippets_Wpf/HostingWpfUserControlInWf/VisualBasic/WpfUserControlHost/Form1.vb#11)]
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
<altmember cref="T:System.Windows.UIElement" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ElementHost ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; ElementHost();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.Integration.ElementHost" /> class.</summary>
<remarks>To be added.</remarks>
<permission cref="F:System.Security.Permissions.SecurityAction.Demand">for full trust for all callers higher in the call stack. This member cannot be used by partially trusted code.</permission>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="AutoSize">
<MemberSignature Language="C#" Value="public override bool AutoSize { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool AutoSize" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.Integration.ElementHost.AutoSize" />
<MemberSignature Language="VB.NET" Value="Public Overrides Property AutoSize As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property bool AutoSize { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.AutoSize : bool with get, set" Usage="System.Windows.Forms.Integration.ElementHost.AutoSize" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value indicating whether the control is automatically resized to display its entire contents.</summary>
<value>
<see langword="true" /> if the control adjusts its size to closely fit its contents; otherwise, <see langword="false" />. The default is <see langword="true" />.</value>
<remarks>To be added.</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
<related type="Article" href="https://msdn.microsoft.com/library/62fd82a2-9565-4f65-925b-9d1e66dc4e7d">AutoSize Property Overview</related>
</Docs>
</Member>
<Member MemberName="BackColorTransparent">
<MemberSignature Language="C#" Value="public bool BackColorTransparent { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool BackColorTransparent" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.Integration.ElementHost.BackColorTransparent" />
<MemberSignature Language="VB.NET" Value="Public Property BackColorTransparent As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool BackColorTransparent { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.BackColorTransparent : bool with get, set" Usage="System.Windows.Forms.Integration.ElementHost.BackColorTransparent" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value indicating whether the hosted element has a transparent background.</summary>
<value>
<see langword="true" /> if the hosted element has a transparent background; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.Integration.ElementHost.BackColorTransparent%2A> property enables bitmap copying, which enables hosted elements to use transparency over the host container. This is useful when the element is over an image or gradient background.
For performance reasons, the <xref:System.Windows.Forms.Integration.ElementHost.BackColorTransparent%2A> property is turned off by default.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="BindingContextChanged">
<MemberSignature Language="C#" Value="public event EventHandler BindingContextChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler BindingContextChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.BindingContextChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event BindingContextChanged As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ BindingContextChanged;" />
<MemberSignature Language="F#" Value="member this.BindingContextChanged : EventHandler " Usage="member this.BindingContextChanged : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the value of the <see cref="T:System.Windows.Forms.BindingContext" /> property changes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.BindingContextChanged> event, see <xref:System.Windows.Forms.Control.BindingContextChanged?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="CanEnableIme">
<MemberSignature Language="C#" Value="protected override bool CanEnableIme { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CanEnableIme" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.Integration.ElementHost.CanEnableIme" />
<MemberSignature Language="VB.NET" Value="Protected Overrides ReadOnly Property CanEnableIme As Boolean" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual property bool CanEnableIme { bool get(); };" />
<MemberSignature Language="F#" Value="member this.CanEnableIme : bool" Usage="System.Windows.Forms.Integration.ElementHost.CanEnableIme" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the <see cref="P:System.Windows.Forms.Control.ImeMode" /> property can be set to an active value to enable IME support.</summary>
<value>
<see langword="true" /> if <see cref="T:System.Windows.Forms.Integration.ElementHost" /> has a <see cref="P:System.Windows.Forms.Integration.ElementHost.Child" /> element; otherwise, <see langword="false" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Child">
<MemberSignature Language="C#" Value="public System.Windows.UIElement Child { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.UIElement Child" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.Integration.ElementHost.Child" />
<MemberSignature Language="VB.NET" Value="Public Property Child As UIElement" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::UIElement ^ Child { System::Windows::UIElement ^ get(); void set(System::Windows::UIElement ^ value); };" />
<MemberSignature Language="F#" Value="member this.Child : System.Windows.UIElement with get, set" Usage="System.Windows.Forms.Integration.ElementHost.Child" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.UIElement</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the <see cref="T:System.Windows.UIElement" /> hosted by the <see cref="T:System.Windows.Forms.Integration.ElementHost" /> control.</summary>
<value>The hosted [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] element.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Only one element can be hosted, but <xref:System.Windows.Forms.Integration.ElementHost.Child%2A> can have any number of child elements.
## Examples
The following code example demonstrates how to use the <xref:System.Windows.Forms.Integration.ElementHost.Child%2A> property to assign a hosted [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element. For more information, see [Walkthrough: Hosting a 3-D WPF Composite Control in Windows Forms](~/docs/framework/wpf/advanced/walkthrough-hosting-a-3-d-wpf-composite-control-in-windows-forms.md).
[!code-csharp[HostingWpfUserControlInWf#11](~/samples/snippets/csharp/VS_Snippets_Wpf/HostingWpfUserControlInWf/CSharp/WpfUserControlHost/Form1.cs#11)]
[!code-vb[HostingWpfUserControlInWf#11](~/samples/snippets/visualbasic/VS_Snippets_Wpf/HostingWpfUserControlInWf/VisualBasic/WpfUserControlHost/Form1.vb#11)]
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="ChildChanged">
<MemberSignature Language="C#" Value="public event EventHandler&lt;System.Windows.Forms.Integration.ChildChangedEventArgs&gt; ChildChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1&lt;class System.Windows.Forms.Integration.ChildChangedEventArgs&gt; ChildChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.ChildChanged" />
<MemberSignature Language="VB.NET" Value="Public Event ChildChanged As EventHandler(Of ChildChangedEventArgs) " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler&lt;System::Windows::Forms::Integration::ChildChangedEventArgs ^&gt; ^ ChildChanged;" />
<MemberSignature Language="F#" Value="member this.ChildChanged : EventHandler&lt;System.Windows.Forms.Integration.ChildChangedEventArgs&gt; " Usage="member this.ChildChanged : System.EventHandler&lt;System.Windows.Forms.Integration.ChildChangedEventArgs&gt; " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler&lt;System.Windows.Forms.Integration.ChildChangedEventArgs&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the <see cref="P:System.Windows.Forms.Integration.WindowsFormsHost.Child" /> property is set.</summary>
<remarks>To be added.</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="Click">
<MemberSignature Language="C#" Value="public event EventHandler Click;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler Click" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.Click" />
<MemberSignature Language="VB.NET" Value="Public Custom Event Click As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ Click;" />
<MemberSignature Language="F#" Value="member this.Click : EventHandler " Usage="member this.Click : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the control is clicked.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.Click> event, see <xref:System.Windows.Forms.Control.Click?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="ClientSizeChanged">
<MemberSignature Language="C#" Value="public event EventHandler ClientSizeChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler ClientSizeChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.ClientSizeChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event ClientSizeChanged As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ ClientSizeChanged;" />
<MemberSignature Language="F#" Value="member this.ClientSizeChanged : EventHandler " Usage="member this.ClientSizeChanged : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the value of the <see cref="P:System.Windows.Forms.Control.ClientSize" /> property changes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.ClientSizeChanged> event, see <xref:System.Windows.Forms.Control.ClientSizeChanged?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="ControlAdded">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.ControlEventHandler ControlAdded;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.ControlEventHandler ControlAdded" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.ControlAdded" />
<MemberSignature Language="VB.NET" Value="Public Custom Event ControlAdded As ControlEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::ControlEventHandler ^ ControlAdded;" />
<MemberSignature Language="F#" Value="member this.ControlAdded : System.Windows.Forms.ControlEventHandler " Usage="member this.ControlAdded : System.Windows.Forms.ControlEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.ControlEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when a new control is added to the <see cref="T:System.Windows.Forms.Control.ControlCollection" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.ControlAdded> event, see <xref:System.Windows.Forms.Control.ControlAdded?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="ControlRemoved">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.ControlEventHandler ControlRemoved;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.ControlEventHandler ControlRemoved" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.ControlRemoved" />
<MemberSignature Language="VB.NET" Value="Public Custom Event ControlRemoved As ControlEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::ControlEventHandler ^ ControlRemoved;" />
<MemberSignature Language="F#" Value="member this.ControlRemoved : System.Windows.Forms.ControlEventHandler " Usage="member this.ControlRemoved : System.Windows.Forms.ControlEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.ControlEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when a control is removed from the <see cref="T:System.Windows.Forms.Control.ControlCollection" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.ControlRemoved> event, see <xref:System.Windows.Forms.Control.ControlRemoved?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="CursorChanged">
<MemberSignature Language="C#" Value="public event EventHandler CursorChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler CursorChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.CursorChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event CursorChanged As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ CursorChanged;" />
<MemberSignature Language="F#" Value="member this.CursorChanged : EventHandler " Usage="member this.CursorChanged : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the value of the <see cref="P:System.Windows.Forms.Control.Cursor" /> property changes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For a more information about the <xref:System.Windows.Forms.Integration.ElementHost.CursorChanged> event, see <xref:System.Windows.Forms.Control.CursorChanged?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="DefaultSize">
<MemberSignature Language="C#" Value="protected override System.Drawing.Size DefaultSize { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Drawing.Size DefaultSize" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.Integration.ElementHost.DefaultSize" />
<MemberSignature Language="VB.NET" Value="Protected Overrides ReadOnly Property DefaultSize As Size" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual property System::Drawing::Size DefaultSize { System::Drawing::Size get(); };" />
<MemberSignature Language="F#" Value="member this.DefaultSize : System.Drawing.Size" Usage="System.Windows.Forms.Integration.ElementHost.DefaultSize" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.Size</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the default size of the control.</summary>
<value>The default <see cref="T:System.Drawing.Size" /> of the control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.DefaultSize%2A> property, see <xref:System.Windows.Forms.Control.DefaultSize%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.Dispose(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub Dispose (disposing As Boolean)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void Dispose(bool disposing);" />
<MemberSignature Language="F#" Value="override this.Dispose : bool -&gt; unit" Usage="elementHost.Dispose disposing" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="disposing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="disposing">
<see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
<summary>Immediately frees any system resources used by the <see cref="T:System.Windows.Forms.Integration.ElementHost" /> control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called by the public `Dispose` method and the <xref:System.Object.Finalize%2A> method. `Dispose` invokes the protected `Dispose(Boolean)` method with the `disposing` parameter set to `true`. <xref:System.Object.Finalize%2A> invokes `Dispose` with `disposing` set to `false`.
When the `disposing` parameter is `true`, this method releases all resources held by any managed objects that this <xref:System.Windows.Forms.Integration.ElementHost> references. This method invokes the `Dispose` method of each referenced object.
]]></format>
</remarks>
<block subset="none" type="overrides">
<para>
<see langword="Dispose" /> can be called multiple times by other objects. When overriding <see langword="Dispose(Boolean)" /> be careful not to reference objects that have been previously disposed of in an earlier call to <see langword="Dispose" />. For more information about how to implement <see langword="Dispose(Boolean)" />, see [Implementing a Dispose Method](~/docs/standard/garbage-collection/implementing-dispose.md).
For more information about <see langword="Dispose" /> and <see cref="M:System.Object.Finalize" />, see [Cleaning Up Unmanaged Resources](~/docs/standard/garbage-collection/unmanaged.md) and [Overriding the Finalize Method](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/ddae83kx(v=vs.100)).</para>
</block>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="DoubleClick">
<MemberSignature Language="C#" Value="public event EventHandler DoubleClick;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler DoubleClick" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.DoubleClick" />
<MemberSignature Language="VB.NET" Value="Public Custom Event DoubleClick As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ DoubleClick;" />
<MemberSignature Language="F#" Value="member this.DoubleClick : EventHandler " Usage="member this.DoubleClick : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the control is double-clicked.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.DoubleClick> event, see <xref:System.Windows.Forms.Control.DoubleClick?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="DragDrop">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.DragEventHandler DragDrop;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.DragEventHandler DragDrop" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.DragDrop" />
<MemberSignature Language="VB.NET" Value="Public Custom Event DragDrop As DragEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::DragEventHandler ^ DragDrop;" />
<MemberSignature Language="F#" Value="member this.DragDrop : System.Windows.Forms.DragEventHandler " Usage="member this.DragDrop : System.Windows.Forms.DragEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.DragEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when a drag-and-drop operation is completed.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.DragDrop> event, see <xref:System.Windows.Forms.Control.DragDrop?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="DragEnter">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.DragEventHandler DragEnter;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.DragEventHandler DragEnter" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.DragEnter" />
<MemberSignature Language="VB.NET" Value="Public Custom Event DragEnter As DragEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::DragEventHandler ^ DragEnter;" />
<MemberSignature Language="F#" Value="member this.DragEnter : System.Windows.Forms.DragEventHandler " Usage="member this.DragEnter : System.Windows.Forms.DragEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.DragEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when an object is dragged into the control's bounds.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.DragEnter> event, see <xref:System.Windows.Forms.Control.DragEnter?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="DragLeave">
<MemberSignature Language="C#" Value="public event EventHandler DragLeave;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler DragLeave" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.DragLeave" />
<MemberSignature Language="VB.NET" Value="Public Custom Event DragLeave As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ DragLeave;" />
<MemberSignature Language="F#" Value="member this.DragLeave : EventHandler " Usage="member this.DragLeave : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when an object is dragged out of the control's bounds.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.DragLeave> event, see <xref:System.Windows.Forms.Control.DragLeave>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="DragOver">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.DragEventHandler DragOver;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.DragEventHandler DragOver" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.DragOver" />
<MemberSignature Language="VB.NET" Value="Public Custom Event DragOver As DragEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::DragEventHandler ^ DragOver;" />
<MemberSignature Language="F#" Value="member this.DragOver : System.Windows.Forms.DragEventHandler " Usage="member this.DragOver : System.Windows.Forms.DragEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.DragEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when an object is dragged over the control's bounds.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.DragOver> event, see <xref:System.Windows.Forms.Control.DragOver?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="EnableModelessKeyboardInterop">
<MemberSignature Language="C#" Value="public static void EnableModelessKeyboardInterop (System.Windows.Window window);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void EnableModelessKeyboardInterop(class System.Windows.Window window) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.EnableModelessKeyboardInterop(System.Windows.Window)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void EnableModelessKeyboardInterop(System::Windows::Window ^ window);" />
<MemberSignature Language="F#" Value="static member EnableModelessKeyboardInterop : System.Windows.Window -&gt; unit" Usage="System.Windows.Forms.Integration.ElementHost.EnableModelessKeyboardInterop window" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="window" Type="System.Windows.Window" />
</Parameters>
<Docs>
<param name="window">The [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] window to be opened modelessly.</param>
<summary>Enables a <see cref="T:System.Windows.Window" /> to receive keyboard messages correctly when it is opened modelessly from [!INCLUDE[TLA#tla_winforms](~/includes/tlasharptla-winforms-md.md)].</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Call the <xref:System.Windows.Forms.Integration.ElementHost.EnableModelessKeyboardInterop%2A> method to forward all keyboard messages when a [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] window is opened modelessly. The <xref:System.Windows.Forms.Integration.ElementHost.EnableModelessKeyboardInterop%2A> method installs a message filter in the [!INCLUDE[TLA#tla_winforms](~/includes/tlasharptla-winforms-md.md)]-based application. The filter forwards all keyboard messages when the modeless window is active.
]]></format>
</remarks>
<permission cref="F:System.Security.Permissions.SecurityAction.Demand">for full trust for all callers higher in the call stack. This member cannot be used by partially trusted code.</permission>
<altmember cref="M:System.Windows.Forms.Integration.WindowsFormsHost.EnableWindowsFormsInterop" />
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="Enter">
<MemberSignature Language="C#" Value="public event EventHandler Enter;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler Enter" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.Enter" />
<MemberSignature Language="VB.NET" Value="Public Custom Event Enter As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ Enter;" />
<MemberSignature Language="F#" Value="member this.Enter : EventHandler " Usage="member this.Enter : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the control is entered.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.Enter> event, see <xref:System.Windows.Forms.Control.Enter?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="Focused">
<MemberSignature Language="C#" Value="public override bool Focused { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Focused" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.Integration.ElementHost.Focused" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property Focused As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property bool Focused { bool get(); };" />
<MemberSignature Language="F#" Value="member this.Focused : bool" Usage="System.Windows.Forms.Integration.ElementHost.Focused" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the control has input focus.</summary>
<value>
<see langword="true" /> if the control has focus; otherwise, <see langword="false" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FontChanged">
<MemberSignature Language="C#" Value="public event EventHandler FontChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler FontChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.FontChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event FontChanged As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ FontChanged;" />
<MemberSignature Language="F#" Value="member this.FontChanged : EventHandler " Usage="member this.FontChanged : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the <see cref="P:System.Windows.Forms.Control.Font" /> property value changes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.FontChanged> event, see <xref:System.Windows.Forms.Control.FontChanged?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="ForeColorChanged">
<MemberSignature Language="C#" Value="public event EventHandler ForeColorChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler ForeColorChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.ForeColorChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event ForeColorChanged As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ ForeColorChanged;" />
<MemberSignature Language="F#" Value="member this.ForeColorChanged : EventHandler " Usage="member this.ForeColorChanged : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the <see cref="P:System.Windows.Forms.Control.ForeColor" /> property value changes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.ForeColorChanged> event, see <xref:System.Windows.Forms.Control.ForeColorChanged?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="GetPreferredSize">
<MemberSignature Language="C#" Value="public override System.Drawing.Size GetPreferredSize (System.Drawing.Size proposedSize);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype System.Drawing.Size GetPreferredSize(valuetype System.Drawing.Size proposedSize) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.GetPreferredSize(System.Drawing.Size)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function GetPreferredSize (proposedSize As Size) As Size" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override System::Drawing::Size GetPreferredSize(System::Drawing::Size proposedSize);" />
<MemberSignature Language="F#" Value="override this.GetPreferredSize : System.Drawing.Size -&gt; System.Drawing.Size" Usage="elementHost.GetPreferredSize proposedSize" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.Size</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="proposedSize" Type="System.Drawing.Size" />
</Parameters>
<Docs>
<param name="proposedSize">The custom-sized area for a [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element.</param>
<summary>Overrides the base class implementation <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> to provide correct layout behavior for the hosted [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] elements.</summary>
<returns>The <see cref="T:System.Drawing.Size" /> computed by the <see cref="T:System.Windows.Forms.Integration.ElementHost" /> control, given the constraints specified by <paramref name="proposedSize" />.</returns>
<remarks>To be added.</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="GiveFeedback">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.GiveFeedbackEventHandler GiveFeedback;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.GiveFeedbackEventHandler GiveFeedback" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.GiveFeedback" />
<MemberSignature Language="VB.NET" Value="Public Custom Event GiveFeedback As GiveFeedbackEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::GiveFeedbackEventHandler ^ GiveFeedback;" />
<MemberSignature Language="F#" Value="member this.GiveFeedback : System.Windows.Forms.GiveFeedbackEventHandler " Usage="member this.GiveFeedback : System.Windows.Forms.GiveFeedbackEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.GiveFeedbackEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs during a drag operation.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.GiveFeedback> event, see <xref:System.Windows.Forms.Control.GiveFeedback?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="GotFocus">
<MemberSignature Language="C#" Value="public event EventHandler GotFocus;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler GotFocus" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.GotFocus" />
<MemberSignature Language="VB.NET" Value="Public Custom Event GotFocus As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ GotFocus;" />
<MemberSignature Language="F#" Value="member this.GotFocus : EventHandler " Usage="member this.GotFocus : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the control receives focus.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.GotFocus> event, see <xref:System.Windows.Forms.Control.GotFocus?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="HostContainer">
<MemberSignature Language="C#" Value="public System.Windows.Controls.Panel HostContainer { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Controls.Panel HostContainer" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.Integration.ElementHost.HostContainer" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property HostContainer As Panel" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Controls::Panel ^ HostContainer { System::Windows::Controls::Panel ^ get(); };" />
<MemberSignature Language="F#" Value="member this.HostContainer : System.Windows.Controls.Panel" Usage="System.Windows.Forms.Integration.ElementHost.HostContainer" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Controls.Panel</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the parent container of the hosted [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] element.</summary>
<value>The parent container.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The host container is the [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] <xref:System.Windows.FrameworkElement>, which is the parent container for the hosted element. The host container is always at the root of the [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element hierarchy. To access the parent of the hosted element, access <xref:System.Windows.Forms.Integration.ElementHost.HostContainer%2A> directly.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="ImeModeBase">
<MemberSignature Language="C#" Value="protected override System.Windows.Forms.ImeMode ImeModeBase { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Forms.ImeMode ImeModeBase" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.Integration.ElementHost.ImeModeBase" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Property ImeModeBase As ImeMode" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual property System::Windows::Forms::ImeMode ImeModeBase { System::Windows::Forms::ImeMode get(); void set(System::Windows::Forms::ImeMode value); };" />
<MemberSignature Language="F#" Value="member this.ImeModeBase : System.Windows.Forms.ImeMode with get, set" Usage="System.Windows.Forms.Integration.ElementHost.ImeModeBase" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Forms.ImeMode</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the IME mode of a control.</summary>
<value>The IME mode of the control.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Invalidated">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.InvalidateEventHandler Invalidated;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.InvalidateEventHandler Invalidated" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.Invalidated" />
<MemberSignature Language="VB.NET" Value="Public Custom Event Invalidated As InvalidateEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::InvalidateEventHandler ^ Invalidated;" />
<MemberSignature Language="F#" Value="member this.Invalidated : System.Windows.Forms.InvalidateEventHandler " Usage="member this.Invalidated : System.Windows.Forms.InvalidateEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.InvalidateEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when a control's display requires redrawing.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.Invalidated> event, see <xref:System.Windows.Forms.Control.Invalidated?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="IsInputChar">
<MemberSignature Language="C#" Value="protected override bool IsInputChar (char charCode);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance bool IsInputChar(char charCode) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.IsInputChar(System.Char)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function IsInputChar (charCode As Char) As Boolean" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override bool IsInputChar(char charCode);" />
<MemberSignature Language="F#" Value="override this.IsInputChar : char -&gt; bool" Usage="elementHost.IsInputChar charCode" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="charCode" Type="System.Char" />
</Parameters>
<Docs>
<param name="charCode">The character to forward.</param>
<summary>Ensures that all WM_CHAR key messages are forwarded to the hosted element.</summary>
<returns>
<see langword="true" /> in all cases.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If the hosted [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] element does not process `charCode`, the <xref:System.Windows.Forms.Integration.ElementHost> control processes it with the <xref:System.Windows.Forms.Control.ProcessDialogChar%2A> method.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="KeyDown">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.KeyEventHandler KeyDown;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.KeyEventHandler KeyDown" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.KeyDown" />
<MemberSignature Language="VB.NET" Value="Public Custom Event KeyDown As KeyEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::KeyEventHandler ^ KeyDown;" />
<MemberSignature Language="F#" Value="member this.KeyDown : System.Windows.Forms.KeyEventHandler " Usage="member this.KeyDown : System.Windows.Forms.KeyEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.KeyEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when a key is pressed while the control has focus.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.KeyDown> event, see <xref:System.Windows.Forms.Control.KeyDown?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="KeyPress">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.KeyPressEventHandler KeyPress;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.KeyPressEventHandler KeyPress" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.KeyPress" />
<MemberSignature Language="VB.NET" Value="Public Custom Event KeyPress As KeyPressEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::KeyPressEventHandler ^ KeyPress;" />
<MemberSignature Language="F#" Value="member this.KeyPress : System.Windows.Forms.KeyPressEventHandler " Usage="member this.KeyPress : System.Windows.Forms.KeyPressEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.KeyPressEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when a key is pressed while the control has focus.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.KeyPress> event, see <xref:System.Windows.Forms.Control.KeyPress?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="KeyUp">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.KeyEventHandler KeyUp;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.KeyEventHandler KeyUp" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.KeyUp" />
<MemberSignature Language="VB.NET" Value="Public Custom Event KeyUp As KeyEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::KeyEventHandler ^ KeyUp;" />
<MemberSignature Language="F#" Value="member this.KeyUp : System.Windows.Forms.KeyEventHandler " Usage="member this.KeyUp : System.Windows.Forms.KeyEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.KeyEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when a key is released while the control has focus.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.KeyUp> event, see <xref:System.Windows.Forms.Control.KeyUp?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="Layout">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.LayoutEventHandler Layout;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.LayoutEventHandler Layout" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.Layout" />
<MemberSignature Language="VB.NET" Value="Public Custom Event Layout As LayoutEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::LayoutEventHandler ^ Layout;" />
<MemberSignature Language="F#" Value="member this.Layout : System.Windows.Forms.LayoutEventHandler " Usage="member this.Layout : System.Windows.Forms.LayoutEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.LayoutEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when a control should reposition its child controls.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.Layout> event, see <xref:System.Windows.Forms.Control.Layout?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="Leave">
<MemberSignature Language="C#" Value="public event EventHandler Leave;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler Leave" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.Leave" />
<MemberSignature Language="VB.NET" Value="Public Custom Event Leave As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ Leave;" />
<MemberSignature Language="F#" Value="member this.Leave : EventHandler " Usage="member this.Leave : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the input focus leaves the control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.Leave> event, see <xref:System.Windows.Forms.Control.Leave?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="LostFocus">
<MemberSignature Language="C#" Value="public event EventHandler LostFocus;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler LostFocus" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.LostFocus" />
<MemberSignature Language="VB.NET" Value="Public Custom Event LostFocus As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ LostFocus;" />
<MemberSignature Language="F#" Value="member this.LostFocus : EventHandler " Usage="member this.LostFocus : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the control loses focus.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.LostFocus> event, see <xref:System.Windows.Forms.Control.LostFocus?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="MouseCaptureChanged">
<MemberSignature Language="C#" Value="public event EventHandler MouseCaptureChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler MouseCaptureChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.MouseCaptureChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event MouseCaptureChanged As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ MouseCaptureChanged;" />
<MemberSignature Language="F#" Value="member this.MouseCaptureChanged : EventHandler " Usage="member this.MouseCaptureChanged : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the control loses or gains mouse capture.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.MouseCaptureChanged> event, see <xref:System.Windows.Forms.Control.MouseCaptureChanged?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="MouseClick">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.MouseEventHandler MouseClick;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.MouseEventHandler MouseClick" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.MouseClick" />
<MemberSignature Language="VB.NET" Value="Public Custom Event MouseClick As MouseEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::MouseEventHandler ^ MouseClick;" />
<MemberSignature Language="F#" Value="member this.MouseClick : System.Windows.Forms.MouseEventHandler " Usage="member this.MouseClick : System.Windows.Forms.MouseEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.MouseEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the control is clicked by the mouse.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.MouseClick> event, see <xref:System.Windows.Forms.Control.MouseClick?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="MouseDoubleClick">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.MouseEventHandler MouseDoubleClick;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.MouseEventHandler MouseDoubleClick" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.MouseDoubleClick" />
<MemberSignature Language="VB.NET" Value="Public Custom Event MouseDoubleClick As MouseEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::MouseEventHandler ^ MouseDoubleClick;" />
<MemberSignature Language="F#" Value="member this.MouseDoubleClick : System.Windows.Forms.MouseEventHandler " Usage="member this.MouseDoubleClick : System.Windows.Forms.MouseEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.MouseEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the control is double clicked by the mouse.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.MouseDoubleClick> event, see <xref:System.Windows.Forms.Control.MouseDoubleClick?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="MouseDown">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.MouseEventHandler MouseDown;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.MouseEventHandler MouseDown" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.MouseDown" />
<MemberSignature Language="VB.NET" Value="Public Custom Event MouseDown As MouseEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::MouseEventHandler ^ MouseDown;" />
<MemberSignature Language="F#" Value="member this.MouseDown : System.Windows.Forms.MouseEventHandler " Usage="member this.MouseDown : System.Windows.Forms.MouseEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.MouseEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the mouse pointer is over the control and a mouse button is pressed.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.MouseDown> event, see <xref:System.Windows.Forms.Control.MouseDown?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="MouseEnter">
<MemberSignature Language="C#" Value="public event EventHandler MouseEnter;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler MouseEnter" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.MouseEnter" />
<MemberSignature Language="VB.NET" Value="Public Custom Event MouseEnter As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ MouseEnter;" />
<MemberSignature Language="F#" Value="member this.MouseEnter : EventHandler " Usage="member this.MouseEnter : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the mouse pointer enters the control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.MouseEnter> event, see <xref:System.Windows.Forms.Control.MouseEnter?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="MouseHover">
<MemberSignature Language="C#" Value="public event EventHandler MouseHover;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler MouseHover" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.MouseHover" />
<MemberSignature Language="VB.NET" Value="Public Custom Event MouseHover As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ MouseHover;" />
<MemberSignature Language="F#" Value="member this.MouseHover : EventHandler " Usage="member this.MouseHover : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the mouse pointer rests on the control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.MouseHover> event, see <xref:System.Windows.Forms.Control.MouseHover?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="MouseLeave">
<MemberSignature Language="C#" Value="public event EventHandler MouseLeave;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler MouseLeave" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.MouseLeave" />
<MemberSignature Language="VB.NET" Value="Public Custom Event MouseLeave As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ MouseLeave;" />
<MemberSignature Language="F#" Value="member this.MouseLeave : EventHandler " Usage="member this.MouseLeave : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the mouse pointer leaves the control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.MouseLeave> event, see <xref:System.Windows.Forms.Control.MouseLeave?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="MouseMove">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.MouseEventHandler MouseMove;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.MouseEventHandler MouseMove" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.MouseMove" />
<MemberSignature Language="VB.NET" Value="Public Custom Event MouseMove As MouseEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::MouseEventHandler ^ MouseMove;" />
<MemberSignature Language="F#" Value="member this.MouseMove : System.Windows.Forms.MouseEventHandler " Usage="member this.MouseMove : System.Windows.Forms.MouseEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.MouseEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the mouse pointer is moved over the control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.MouseMove> event, see <xref:System.Windows.Forms.Control.MouseMove?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="MouseUp">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.MouseEventHandler MouseUp;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.MouseEventHandler MouseUp" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.MouseUp" />
<MemberSignature Language="VB.NET" Value="Public Custom Event MouseUp As MouseEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::MouseEventHandler ^ MouseUp;" />
<MemberSignature Language="F#" Value="member this.MouseUp : System.Windows.Forms.MouseEventHandler " Usage="member this.MouseUp : System.Windows.Forms.MouseEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.MouseEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the mouse pointer is over the control and a mouse button is released.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.MouseUp> event, see <xref:System.Windows.Forms.Control.MouseUp?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="MouseWheel">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.MouseEventHandler MouseWheel;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.MouseEventHandler MouseWheel" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.MouseWheel" />
<MemberSignature Language="VB.NET" Value="Public Custom Event MouseWheel As MouseEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::MouseEventHandler ^ MouseWheel;" />
<MemberSignature Language="F#" Value="member this.MouseWheel : System.Windows.Forms.MouseEventHandler " Usage="member this.MouseWheel : System.Windows.Forms.MouseEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.MouseEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the mouse wheel moves while the control has focus.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.MouseWheel> event, see <xref:System.Windows.Forms.Control.MouseWheel?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="OnEnabledChanged">
<MemberSignature Language="C#" Value="protected override void OnEnabledChanged (EventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnEnabledChanged(class System.EventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.OnEnabledChanged(System.EventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnEnabledChanged (e As EventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnEnabledChanged(EventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnEnabledChanged : EventArgs -&gt; unit" Usage="elementHost.OnEnabledChanged e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.EventArgs" Index="0" FrameworkAlternate="netcore-3.0;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="e">The data for the event.</param>
<summary>Raises the <see cref="E:System.Windows.Forms.Control.EnabledChanged" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Raising an event invokes the event handler through a delegate. For more information, see [Handling and Raising Events](~/docs/standard/events/index.md).
The <xref:System.Windows.Forms.Integration.ElementHost.OnEnabledChanged%2A> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
]]></format>
</remarks>
<block subset="none" type="overrides">
<para>When overriding <see cref="M:System.Windows.Forms.Integration.ElementHost.OnEnabledChanged(System.EventArgs)" /> in a derived class, be sure to call the base class's <see cref="M:System.Windows.Forms.Integration.ElementHost.OnEnabledChanged(System.EventArgs)" /> method so that registered delegates receive the event.</para>
</block>
</Docs>
</Member>
<Member MemberName="OnGotFocus">
<MemberSignature Language="C#" Value="protected override void OnGotFocus (EventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnGotFocus(class System.EventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.OnGotFocus(System.EventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnGotFocus (e As EventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnGotFocus(EventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnGotFocus : EventArgs -&gt; unit" Usage="elementHost.OnGotFocus e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.EventArgs" />
</Parameters>
<Docs>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
<summary>Raises the <see cref="E:System.Windows.Forms.Integration.ElementHost.GotFocus" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.OnGotFocus%2A> method, see <xref:System.Windows.Forms.Control.OnGotFocus%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="OnHandleCreated">
<MemberSignature Language="C#" Value="protected override void OnHandleCreated (EventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnHandleCreated(class System.EventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.OnHandleCreated(System.EventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnHandleCreated (e As EventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnHandleCreated(EventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnHandleCreated : EventArgs -&gt; unit" Usage="elementHost.OnHandleCreated e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.EventArgs" />
</Parameters>
<Docs>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
<summary>Raises the <see cref="E:System.Windows.Forms.Control.HandleCreated" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.OnHandleCreated%2A> method, see <xref:System.Windows.Forms.Control.OnHandleCreated%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="OnLeave">
<MemberSignature Language="C#" Value="protected override void OnLeave (EventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnLeave(class System.EventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.OnLeave(System.EventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnLeave (e As EventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnLeave(EventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnLeave : EventArgs -&gt; unit" Usage="elementHost.OnLeave e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.EventArgs" />
</Parameters>
<Docs>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
<summary>Raises the <see cref="E:System.Windows.Forms.Control.Leave" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.OnLeave%2A> method, see <xref:System.Windows.Forms.Control.OnLeave%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="OnPaint">
<MemberSignature Language="C#" Value="protected override void OnPaint (System.Windows.Forms.PaintEventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnPaint(class System.Windows.Forms.PaintEventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.OnPaint(System.Windows.Forms.PaintEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnPaint (e As PaintEventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnPaint(System::Windows::Forms::PaintEventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnPaint : System.Windows.Forms.PaintEventArgs -&gt; unit" Usage="elementHost.OnPaint e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.Windows.Forms.PaintEventArgs" />
</Parameters>
<Docs>
<param name="e">A <see cref="T:System.Windows.Forms.PaintEventArgs" /> that contains the event data.</param>
<summary>Raises the <see cref="E:System.Windows.Forms.Control.Paint" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.Integration.ElementHost> implementation of the <xref:System.Windows.Forms.Integration.ElementHost.OnPaint%2A> method forwards to the base class implementation.
]]></format>
</remarks>
<block subset="none" type="overrides">
<para>Do not override this implementation of the <see cref="M:System.Windows.Forms.Integration.ElementHost.OnPaint(System.Windows.Forms.PaintEventArgs)" /> method. The <see cref="T:System.Windows.Forms.Integration.ElementHost" /> control manages the painting of its hosted element, and overriding <see cref="M:System.Windows.Forms.Integration.ElementHost.OnPaint(System.Windows.Forms.PaintEventArgs)" /> will cause unpredictable results.</para>
</block>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="OnPaintBackground">
<MemberSignature Language="C#" Value="protected override void OnPaintBackground (System.Windows.Forms.PaintEventArgs pevent);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnPaintBackground(class System.Windows.Forms.PaintEventArgs pevent) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.OnPaintBackground(System.Windows.Forms.PaintEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnPaintBackground (pevent As PaintEventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnPaintBackground(System::Windows::Forms::PaintEventArgs ^ pevent);" />
<MemberSignature Language="F#" Value="override this.OnPaintBackground : System.Windows.Forms.PaintEventArgs -&gt; unit" Usage="elementHost.OnPaintBackground pevent" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pevent" Type="System.Windows.Forms.PaintEventArgs" />
</Parameters>
<Docs>
<param name="pevent">A <see cref="T:System.Windows.Forms.PaintEventArgs" /> that contains information about the control to paint.</param>
<summary>Paints the background of the control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.Integration.ElementHost.OnPaintBackground%2A> method paints the parent control's background into an offscreen HBITMAP. This bitmap is used as the background in the hosted element to support transparency.
This method supports the [!INCLUDE[TLA#tla_net](~/includes/tlasharptla-net-md.md)] infrastructure and is not intended to be used directly from your code.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="OnPrint">
<MemberSignature Language="C#" Value="protected override void OnPrint (System.Windows.Forms.PaintEventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnPrint(class System.Windows.Forms.PaintEventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.OnPrint(System.Windows.Forms.PaintEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnPrint (e As PaintEventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnPrint(System::Windows::Forms::PaintEventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnPrint : System.Windows.Forms.PaintEventArgs -&gt; unit" Usage="elementHost.OnPrint e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.Windows.Forms.PaintEventArgs" />
</Parameters>
<Docs>
<param name="e">A <see cref="T:System.Windows.Forms.PaintEventArgs" /> that contains the event data.</param>
<summary>Renders the control using the provided <see cref="T:System.Drawing.Graphics" /> object.</summary>
<remarks>To be added.</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="OnPropertyChanged">
<MemberSignature Language="C#" Value="public virtual void OnPropertyChanged (string propertyName, object value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnPropertyChanged(string propertyName, object value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.OnPropertyChanged(System.String,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub OnPropertyChanged (propertyName As String, value As Object)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void OnPropertyChanged(System::String ^ propertyName, System::Object ^ value);" />
<MemberSignature Language="F#" Value="abstract member OnPropertyChanged : string * obj -&gt; unit&#xA;override this.OnPropertyChanged : string * obj -&gt; unit" Usage="elementHost.OnPropertyChanged (propertyName, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="propertyName" Type="System.String" />
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="propertyName">The name of the property that has changed and requires translation.</param>
<param name="value">The new value of the property.</param>
<summary>Notifies the <see cref="P:System.Windows.Forms.Integration.ElementHost.PropertyMap" /> that a property has changed.</summary>
<remarks>To be added.</remarks>
<permission cref="F:System.Security.Permissions.SecurityAction.InheritanceDemand">for full trust for inheritors. This member cannot be inherited by partially trusted code.</permission>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="OnVisibleChanged">
<MemberSignature Language="C#" Value="protected override void OnVisibleChanged (EventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnVisibleChanged(class System.EventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.OnVisibleChanged(System.EventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnVisibleChanged (e As EventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnVisibleChanged(EventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnVisibleChanged : EventArgs -&gt; unit" Usage="elementHost.OnVisibleChanged e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.EventArgs" />
</Parameters>
<Docs>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
<summary>Raises the <see cref="E:System.Windows.Forms.Control.VisibleChanged" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.OnVisibleChanged%2A> method, see <xref:System.Windows.Forms.Control.OnVisibleChanged%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="PaddingChanged">
<MemberSignature Language="C#" Value="public event EventHandler PaddingChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler PaddingChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.PaddingChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event PaddingChanged As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ PaddingChanged;" />
<MemberSignature Language="F#" Value="member this.PaddingChanged : EventHandler " Usage="member this.PaddingChanged : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the control's padding changes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.PaddingChanged> event, see <xref:System.Windows.Forms.Control.PaddingChanged?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="Paint">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.PaintEventHandler Paint;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.PaintEventHandler Paint" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.Paint" />
<MemberSignature Language="VB.NET" Value="Public Custom Event Paint As PaintEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::PaintEventHandler ^ Paint;" />
<MemberSignature Language="F#" Value="member this.Paint : System.Windows.Forms.PaintEventHandler " Usage="member this.Paint : System.Windows.Forms.PaintEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.PaintEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the <see cref="T:System.Windows.Forms.Integration.ElementHost" /> control is redrawn.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The implementation of this event adds event handlers to the base <xref:System.Windows.Controls.Control> event.
]]></format>
</remarks>
<altmember cref="E:System.Windows.Forms.Control.Paint" />
<altmember cref="M:System.Windows.Forms.Integration.ElementHost.OnPaint(System.Windows.Forms.PaintEventArgs)" />
</Docs>
</Member>
<Member MemberName="PreviewKeyDown">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.PreviewKeyDownEventHandler PreviewKeyDown;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.PreviewKeyDownEventHandler PreviewKeyDown" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.PreviewKeyDown" />
<MemberSignature Language="VB.NET" Value="Public Custom Event PreviewKeyDown As PreviewKeyDownEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::PreviewKeyDownEventHandler ^ PreviewKeyDown;" />
<MemberSignature Language="F#" Value="member this.PreviewKeyDown : System.Windows.Forms.PreviewKeyDownEventHandler " Usage="member this.PreviewKeyDown : System.Windows.Forms.PreviewKeyDownEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.PreviewKeyDownEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs before the <see cref="E:System.Windows.Forms.Control.KeyDown" /> event when a key is pressed while focus is on this control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.PreviewKeyDown> event, see <xref:System.Windows.Forms.Control.PreviewKeyDown?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="ProcessCmdKey">
<MemberSignature Language="C#" Value="protected override bool ProcessCmdKey (ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance bool ProcessCmdKey(valuetype System.Windows.Forms.Message&amp; msg, valuetype System.Windows.Forms.Keys keyData) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.ProcessCmdKey(System.Windows.Forms.Message@,System.Windows.Forms.Keys)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function ProcessCmdKey (ByRef msg As Message, keyData As Keys) As Boolean" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override bool ProcessCmdKey(System::Windows::Forms::Message % msg, System::Windows::Forms::Keys keyData);" />
<MemberSignature Language="F#" Value="override this.ProcessCmdKey : * System.Windows.Forms.Keys -&gt; bool" Usage="elementHost.ProcessCmdKey (msg, keyData)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="msg" Type="System.Windows.Forms.Message" RefType="ref" />
<Parameter Name="keyData" Type="System.Windows.Forms.Keys" />
</Parameters>
<Docs>
<param name="msg">A <see cref="T:System.Windows.Forms.Message" />, passed by reference, that represents the window message to process.</param>
<param name="keyData">One of the <see cref="T:System.Windows.Forms.Keys" /> values representing the key to process.</param>
<summary>Processes a command key, ensuring that the hosted element has an opportunity to handle the command before normal [!INCLUDE[TLA#tla_winforms](~/includes/tlasharptla-winforms-md.md)] processing.</summary>
<returns>
<see langword="true" /> if the character is a [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] shortcut key; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If a key message is not handled by the hosted [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element, it is forwarded up the [!INCLUDE[TLA#tla_winforms](~/includes/tlasharptla-winforms-md.md)] class hierarchy for processing.
]]></format>
</remarks>
<permission cref="F:System.Security.Permissions.SecurityAction.LinkDemand">for full trust for the immediate caller. This member cannot be used by partially trusted code.</permission>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="ProcessMnemonic">
<MemberSignature Language="C#" Value="protected override bool ProcessMnemonic (char charCode);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance bool ProcessMnemonic(char charCode) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.ProcessMnemonic(System.Char)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function ProcessMnemonic (charCode As Char) As Boolean" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override bool ProcessMnemonic(char charCode);" />
<MemberSignature Language="F#" Value="override this.ProcessMnemonic : char -&gt; bool" Usage="elementHost.ProcessMnemonic charCode" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="charCode" Type="System.Char" />
</Parameters>
<Docs>
<param name="charCode">The character to process.</param>
<summary>Processes a mnemonic character, ensuring that the hosted element has an opportunity to handle the mnemonic before normal [!INCLUDE[TLA#tla_winforms](~/includes/tlasharptla-winforms-md.md)] processing.</summary>
<returns>
<see langword="true" /> if the character is a [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] shortcut key; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If a key message is not handled by the hosted [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element, it is forwarded up the [!INCLUDE[TLA#tla_winforms](~/includes/tlasharptla-winforms-md.md)] class hierarchy for processing.
]]></format>
</remarks>
<permission cref="F:System.Security.Permissions.SecurityAction.LinkDemand">for full trust for the immediate caller. This member cannot be used by partially trusted code.</permission>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="PropertyMap">
<MemberSignature Language="C#" Value="public System.Windows.Forms.Integration.PropertyMap PropertyMap { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Forms.Integration.PropertyMap PropertyMap" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.Integration.ElementHost.PropertyMap" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property PropertyMap As PropertyMap" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Forms::Integration::PropertyMap ^ PropertyMap { System::Windows::Forms::Integration::PropertyMap ^ get(); };" />
<MemberSignature Language="F#" Value="member this.PropertyMap : System.Windows.Forms.Integration.PropertyMap" Usage="System.Windows.Forms.Integration.ElementHost.PropertyMap" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.Integration.PropertyMap</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the property map, which determines how setting properties on the <see cref="T:System.Windows.Forms.Integration.ElementHost" /> control affects the hosted [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] element.</summary>
<value>A <see cref="T:System.Windows.Forms.Integration.PropertyMap" /> that maps <see cref="T:System.Windows.Forms.Integration.ElementHost" /> to properties on the hosted [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The [!INCLUDE[TLA#tla_winforms](~/includes/tlasharptla-winforms-md.md)] and [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] technologies have two similar but different property models. *Property mapping* supports interoperation between the two architectures. For more information, see [Windows Forms and WPF Property Mapping](~/docs/framework/wpf/advanced/windows-forms-and-wpf-property-mapping.md).
## Examples
The following code example demonstrates how to use the <xref:System.Windows.Forms.Integration.ElementHost.PropertyMap%2A> property to translate the <xref:System.Windows.FrameworkElement.Margin%2A> property for a hosted [!INCLUDE[TLA2#tla_winclient](~/includes/tla2sharptla-winclient-md.md)] element. For more information, see [Walkthrough: Mapping Properties Using the ElementHost Control](~/docs/framework/wpf/advanced/walkthrough-mapping-properties-using-the-elementhost-control.md).
[!code-csharp[PropertyMappingWithElementHost#12](~/samples/snippets/csharp/VS_Snippets_Wpf/PropertyMappingWithElementHost/CSharp/PropertyMappingWithElementHost/Form1.cs#12)]
[!code-vb[PropertyMappingWithElementHost#12](~/samples/snippets/visualbasic/VS_Snippets_Wpf/PropertyMappingWithElementHost/VisualBasic/PropertyMappingWithElementHost/Form1.vb#12)]
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="QueryContinueDrag">
<MemberSignature Language="C#" Value="public event System.Windows.Forms.QueryContinueDragEventHandler QueryContinueDrag;" />
<MemberSignature Language="ILAsm" Value=".event class System.Windows.Forms.QueryContinueDragEventHandler QueryContinueDrag" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.QueryContinueDrag" />
<MemberSignature Language="VB.NET" Value="Public Custom Event QueryContinueDrag As QueryContinueDragEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::Windows::Forms::QueryContinueDragEventHandler ^ QueryContinueDrag;" />
<MemberSignature Language="F#" Value="member this.QueryContinueDrag : System.Windows.Forms.QueryContinueDragEventHandler " Usage="member this.QueryContinueDrag : System.Windows.Forms.QueryContinueDragEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Forms.QueryContinueDragEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.QueryContinueDrag> event, see <xref:System.Windows.Forms.Control.QueryContinueDrag?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="Resize">
<MemberSignature Language="C#" Value="public event EventHandler Resize;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler Resize" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.Resize" />
<MemberSignature Language="VB.NET" Value="Public Custom Event Resize As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ Resize;" />
<MemberSignature Language="F#" Value="member this.Resize : EventHandler " Usage="member this.Resize : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the control is resized.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.Resize> event, see <xref:System.Windows.Forms.Control.Resize?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="RightToLeftChanged">
<MemberSignature Language="C#" Value="public event EventHandler RightToLeftChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler RightToLeftChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.RightToLeftChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event RightToLeftChanged As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ RightToLeftChanged;" />
<MemberSignature Language="F#" Value="member this.RightToLeftChanged : EventHandler " Usage="member this.RightToLeftChanged : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the <see cref="P:System.Windows.Forms.Control.RightToLeft" /> property value changes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.RightToLeftChanged> event, see <xref:System.Windows.Forms.Control.RightToLeftChanged?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="ScaleCore">
<MemberSignature Language="C#" Value="protected override void ScaleCore (float dx, float dy);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void ScaleCore(float32 dx, float32 dy) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.ScaleCore(System.Single,System.Single)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub ScaleCore (dx As Single, dy As Single)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void ScaleCore(float dx, float dy);" />
<MemberSignature Language="F#" Value="override this.ScaleCore : single * single -&gt; unit" Usage="elementHost.ScaleCore (dx, dy)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dx" Type="System.Single" />
<Parameter Name="dy" Type="System.Single" />
</Parameters>
<Docs>
<param name="dx">The scaling factor for the x-axis.</param>
<param name="dy">The scaling factor for the y-axis.</param>
<summary>Scales the parent container and the hosted [!INCLUDE[TLA#tla_winforms](~/includes/tlasharptla-winforms-md.md)] control.</summary>
<remarks>To be added.</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="Select">
<MemberSignature Language="C#" Value="protected override void Select (bool directed, bool forward);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Select(bool directed, bool forward) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.Select(System.Boolean,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub Select (directed As Boolean, forward As Boolean)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void Select(bool directed, bool forward);" />
<MemberSignature Language="F#" Value="override this.Select : bool * bool -&gt; unit" Usage="elementHost.Select (directed, forward)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="directed" Type="System.Boolean" />
<Parameter Name="forward" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="directed">
<see langword="true" /> to specify the direction of the control to select; otherwise, <see langword="false" />.</param>
<param name="forward">
<see langword="true" /> to move forward in the tab order; <see langword="false" /> to move backward in the tab order.</param>
<summary>Activates the hosted element.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.Integration.ElementHost.Select%2A> method activates the hosted element. If more than one hosted element exists, either the first or last element is activated, depending on the `directed` and `forward` parameters.
Repeated calls to the <xref:System.Windows.Forms.Integration.ElementHost.Select%2A> method do not traverse the hosted elements. To select subsequent elements, call the <xref:System.Windows.FrameworkElement.MoveFocus%2A> method on the <xref:System.Windows.Forms.Integration.ElementHost.HostContainer%2A> property.
This implementation forwards tab keys from [!INCLUDE[TLA#tla_winforms](~/includes/tlasharptla-winforms-md.md)] to [!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)].
]]></format>
</remarks>
<altmember cref="M:System.Windows.FrameworkElement.MoveFocus(System.Windows.Input.TraversalRequest)" />
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="SizeChanged">
<MemberSignature Language="C#" Value="public event EventHandler SizeChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler SizeChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.SizeChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event SizeChanged As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ SizeChanged;" />
<MemberSignature Language="F#" Value="member this.SizeChanged : EventHandler " Usage="member this.SizeChanged : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the <see cref="P:System.Windows.Forms.Control.Size" /> property value changes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.SizeChanged> event, see <xref:System.Windows.Forms.Control.SizeChanged?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="TextChanged">
<MemberSignature Language="C#" Value="public event EventHandler TextChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler TextChanged" />
<MemberSignature Language="DocId" Value="E:System.Windows.Forms.Integration.ElementHost.TextChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event TextChanged As EventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler ^ TextChanged;" />
<MemberSignature Language="F#" Value="member this.TextChanged : EventHandler " Usage="member this.TextChanged : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the <see cref="P:System.Windows.Forms.Control.Text" /> property value changes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.TextChanged> event, see <xref:System.Windows.Forms.Control.TextChanged?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.Integration.WindowsFormsHost" />
</Docs>
</Member>
<Member MemberName="WndProc">
<MemberSignature Language="C#" Value="protected override void WndProc (ref System.Windows.Forms.Message m);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void WndProc(valuetype System.Windows.Forms.Message&amp; m) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.Integration.ElementHost.WndProc(System.Windows.Forms.Message@)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub WndProc (ByRef m As Message)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void WndProc(System::Windows::Forms::Message % m);" />
<MemberSignature Language="F#" Value="override this.WndProc : -&gt; unit" Usage="elementHost.WndProc m" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsFormsIntegration</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="m" Type="System.Windows.Forms.Message" RefType="ref" />
</Parameters>
<Docs>
<param name="m">A message to process.</param>
<summary>Processes Windows messages.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about the <xref:System.Windows.Forms.Integration.ElementHost.WndProc%2A> method, see <xref:System.Windows.Forms.Control.WndProc%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
<permission cref="F:System.Security.Permissions.SecurityAction.LinkDemand">for full trust for the immediate caller. This member cannot be used by partially trusted code.</permission>
<permission cref="F:System.Security.Permissions.SecurityAction.InheritanceDemand">for full trust for inheritors. This member cannot be inherited by partially trusted code.</permission>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.