net9.0-windows10.0.22621
namespace System.Windows.Forms.Integration
{
    [ContentProperty("Child")]
    [DefaultEvent("ChildChanged")]
    [DesignerCategory("code")]
    public class ElementHost : Control
    {
        [Browsable(false)]
        [EditorBrowsable(EditorBrowsableState.Never)]
        public event KeyPressEventHandler KeyPress;
    }
}
.NET 5.06.07.08.09.0
.NET Core 3.03.1
.NET Framework 3.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
Windows 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621
Information specific to net9.0-windows10.0.22621
Assembly

WindowsFormsIntegration , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Requires any:

  • Your project needs to set <UseWindowsForms>True</UseWindowsForms>.

  • Your project needs to set <UseWPF>True</UseWPF>.

Platform Restrictions

The event adder is only supported on the following platforms:

  • Windows

The event remover is only supported on the following platforms:

  • Windows
  • Built-in API
  • Package-provided API

12/21/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙