public class ImagePrimitive : PrimitiveBase,
IDisposablePublic Class ImagePrimitive
Inherits PrimitiveBase
Implements IDisposable| ImagePrimitive | Initializes a new instance of the ImagePrimitive class |
| Anchor |
Gets or sets the anchor style of the primitive inside the container.
(Inherited from PrimitiveBase) |
| Bounds |
The bounds of the primitive inside the container.
(Inherited from PrimitiveBase) |
| Children |
Descendant primitives. They are drawn in the area of parent. Their bounds and anchor style are relative to the parent.
(Inherited from PrimitiveBase) |
| Color |
The color by which the primitive should be drawn on the surface.
(Inherited from PrimitiveBase) |
| ImageFromFile | Gets or sets the PNG image by file name. |
| ImageFromResx | Gets or sets the PNG image by resource name. |
| Name |
The name of the primitive.
(Inherited from PrimitiveBase) |
| Dispose | Release resources and dispose object. |
| Dispose(Boolean) | Disposing the object. |
| Draw |
Draws the primitive on a graphics surface.
(Inherited from PrimitiveBase) |
| DrawContent |
Draws the actual primitve.
(Overrides PrimitiveBaseDrawContent(Graphics, Rectangle)) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize |
Destructor of the ImagePrimitive object.
(Overrides ObjectFinalize) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| OnChanged |
Fires the Changed event.
(Inherited from PrimitiveBase) |
| ParentResized |
Should be called, when the parent container is resized.
(Inherited from PrimitiveBase) |
| ResetAnchor |
Resets the Anchor property to its default value.
(Inherited from PrimitiveBase) |
| ResetBounds |
Resets the Bounds property to its default value.
(Inherited from PrimitiveBase) |
| ResetColor |
Resets the Color property to its default value.
(Inherited from PrimitiveBase) |
| ResetImageFromFile | Rests the ImageFromFile property to its default value. |
| ResetImageFromResx | Resets the ImageFromResx property to its default value. |
| ScalePrimitive |
Scales the primitive by a given scale factor.
(Inherited from PrimitiveBase) |
| ShouldSerializeAnchor |
Indicates whether the Anchor property should be persisted.
(Inherited from PrimitiveBase) |
| ShouldSerializeBounds |
Indicates whether the Bounds property should be persisted.
(Inherited from PrimitiveBase) |
| ShouldSerializeColor |
Indicates whether the Color property should be persisted.
(Inherited from PrimitiveBase) |
| ShouldSerializeImageFromFile | Indicates whether the ImageFromResx property should be persisted. |
| ShouldSerializeImageFromResx | Indicates whether the ImageFromResx property should be persisted. |
| ShouldSerializeName |
Indicates whether the Name property should be persisted.
(Inherited from PrimitiveBase) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Changed |
Occurs, when some property or a property of a children (every descendant primitive) has changed.
(Inherited from PrimitiveBase) |