[]
Represents an icon created from an image.
public class C1BitmapIcon : C1Icon, INotifyPropertyChanged, ICloneable
The file that you use should be a solid image on a transparent background. The bitmap image is expected to be a true bitmap that has transparent pixels and non-transparent pixels. The recommended format is PNG. Other file-format image sources will load but result in a solid block of the foreground color. Caution: Resizing bitmaps at runtime might hurt application performance and result in blurry images. Consider using fixed-size images where possible.
| Name | Description |
|---|---|
| C1BitmapIcon() | Initializes a new instance of the C1BitmapIcon class. |
| C1BitmapIcon(string) | Initializes a new instance of the C1BitmapIcon class. |
| C1BitmapIcon(string, Size, Color, Image) | Initializes a new instance of the C1BitmapIcon class with specified key, size and color. |
| C1BitmapIcon(string, Size, Color, object, int) | Initializes a new instance of the C1BitmapIcon class with specified key, size and color. |
| Name | Description |
|---|---|
| ImageIndex | Gets or sets the index of the small image in the SmallImageList. |
| ImageKey | Gets or sets the key of the small image in the SmallImageList. |
| ImageList | Gets or sets the object that contains the images to display. |
| ShowAsMonochrome | Gets or sets a value that indicates whether the bitmap is shown in a single color. |
| Source | Gets or sets the image source. |
| Stretch | Gets or sets a Stretch enumeration value that describes how the shape fills its allocated space. |
| Name | Description |
|---|---|
| Clone() | Creates a new object that is a copy of the current instance. |
| Equals(object) | Indicates whether the specified object is a C1BitmapIcon and has the same property values as this icon object. |
| GetHashCode() | |
| ReadXml(XmlNode) | |
| WriteXml(XmlWriter) |