<PackageReference Include="System.Drawing.Common" Version="11.0.0-preview.2.26159.112" />

System.Drawing.ToolboxBitmapAttribute

Allows you to specify an icon to represent a control in a container, such as the Microsoft Visual Studio Form Designer.
namespace System.Drawing { public class ToolboxBitmapAttribute : Attribute { public static readonly ToolboxBitmapAttribute Default; public ToolboxBitmapAttribute(string imageFile); public ToolboxBitmapAttribute(Type t); public ToolboxBitmapAttribute(Type t, string name); public Image GetImage(object component); public Image GetImage(object component, bool large); public Image GetImage(Type type); public Image GetImage(Type type, bool large); public Image GetImage(Type type, string imgName, bool large); public static Image GetImageFromResource(Type t, string imageName, bool large); } }