net9.0-windows10.0.22621
namespace System.Windows.Forms
{
    [DefaultEvent("Click")]
    [DefaultProperty("Text")]
    [Designer("System.Windows.Forms.Design.ControlDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [ToolboxItemFilter("System.Windows.Forms")]
    public class Control : Component, IComponent, ISynchronizeInvoke, IDisposable, IBindableComponent, IDropTarget, IWin32Window
    {
        [AsyncStateMachine(typeof(<InvokeAsync>d__1351<?>))]
        public Task<T>! InvokeAsync<T>(Func<CancellationToken, ValueTask<T>>! callback, CancellationToken cancellationToken = default);
    }
}
.NET 9.0
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

System.Windows.Forms , Version=9.0.0.0, PublicKeyToken=b77a5c561934e089

Referencing

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

Preview The API is contained in a preview framework.
Platform Restrictions

This API is only supported on the following platforms:

  • Windows >= 6.1
  • Built-in API
  • Package-provided API

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