[]
Represents a visual icon that can be tinted and resized.
[TypeConverter(typeof(C1IconConverter))]
public abstract class C1Icon : INotifyPropertyChanged, ICloneable
| Name | Description |
|---|---|
| C1Icon() | Initializes a new instance of the C1Icon class. |
| C1Icon(string) | Initializes a new instance of the C1Icon class. |
| C1Icon(string, Size, Color) | Initializes a new instance of the C1Icon class with specified key, size and color. |
| C1Icon(string, Size, Color, Color) | Initializes a new instance of the C1Icon class with specified key, size and color. |
| Name | Description |
|---|---|
| DEFAULT_HEIGHT | The default height of an icon. |
| DEFAULT_WIDTH | The default width of an icon. |
| Name | Description |
|---|---|
| BackColor | Gets or sets the color used to paint the icon's background. The default value is Transparent. |
| Color | Gets or sets the color used to paint the icon. The default value is Transparent. |
| IsEmptyBackColor | Returns the bool value specifying whether icon background color is set. |
| IsEmptyColor | Returns the bool value specifying whether icon color is set. |
| IsFreeScale | Gets a value indicating whether this C1Icon can free scale or not. |
| Key | Gets or sets the key used to retrieve the image. |
| Padding | Gets or sets the padding of the icon. |
| Size | Gets or sets the size of icon to show. |
| Name | Description |
|---|---|
| Clone() | Creates a new object that is a copy of the current instance. |
| OnPropertyChanged(string) | Fires the PropertyChanged event. |
| ReadXml(XmlNode) | Reads this C1Icon from an System.Xml.XmlReader. |
| WriteXml(XmlWriter) | Writes this C1Icon into an System.Xml.XmlWriter. |
| Name | Description |
|---|---|
| PropertyChanged | Fires when property value was changed. |