Class ToolboxBitmapAttribute
Allows you to specify an icon to represent a control in a container, such as a form designer.
[AttributeUsage(AttributeTargets.Class)]
public class ToolboxBitmapAttribute : Attribute
- Inheritance
-
ToolboxBitmapAttribute
Constructors
- ToolboxBitmapAttribute(string)
Initializes a new ToolboxBitmapAttribute object with an image from a specified file.
- ToolboxBitmapAttribute(Type)
Initializes a new ToolboxBitmapAttribute object based on a bitmap that is embedded as a resource in a specified assembly.
- ToolboxBitmapAttribute(Type, string)
Initializes a new ToolboxBitmapAttribute object based on a bitmap that is embedded as a resource in a specified assembly.
Properties
- ImageFile
Gets the name of a file that contains a bitmap.
- ImageName
Gets the name of the embedded bitmap resource.
- ImageType
Gets a type whose defining assembly is searched for the bitmap resource.