<PackageReference Include="System.Drawing.Common" Version="11.0.0-rc.3.26522.148" />

System.Drawing.ToolboxBitmapAttribute

public static readonly ToolboxBitmapAttribute Default

public ToolboxBitmapAttribute(string imageFile)

public ToolboxBitmapAttribute(Type t, string name)

Initializes a new ToolboxBitmapAttribute object based on a 16 by 16 bitmap that is embedded as a resource in a specified assembly.

public static Image GetImageFromResource(Type t, string imageName, bool large)

Returns an Image object based on a bitmap resource that is embedded in an assembly.

public Image GetImage(object component)

Gets the small Image associated with this ToolboxBitmapAttribute object.

public Image GetImage(object component, bool large)

Gets the small or large Image associated with this ToolboxBitmapAttribute object.

public Image GetImage(Type type)

Gets the small Image associated with this ToolboxBitmapAttribute object.

public Image GetImage(Type type, bool large)

Gets the small or large Image associated with this ToolboxBitmapAttribute object.

public Image GetImage(Type type, string imgName, bool large)

Gets the small or large Image associated with this ToolboxBitmapAttribute object.