[]
This class supports hierarchy of items that allows to handle isDirty flag and to automatically refresh drawing
public abstract class Item : IGraphItem, ICloneable, IGraphXmlSerializable
Name | Description |
---|---|
Item() | Initializes a new instance of Item Class. |
Name | Description |
---|---|
IsAttachable | Current attachable state. |
IsDirty | Dirty state. |
Name | Description |
---|---|
CheckPropertiesValidity() | method is called automatically upon attaching parent sublcassed items should call this method on critical property change if there is no graph as grandparent this method does nothing, otherwise it calls CheckValidityImpl |
CheckPropertiesValidityImpl(ISharpGraph) | this method should be overriden if item should check inter-property dependencies. by default it does nothing Method should throw ArgumentException if it encounters errors |
Clone() | Creates a new object that is a copy of the current instance. |
Destroy(bool) | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
InternalGetParents() | Returns internal array |
NotifyOnAnyPropertyChange(object) | is called when property value changes. |
ToXml(string, GraphXmlSerializationContext, string[]) | |
ToXmlString() | For internal use only! |
Name | Description |
---|---|
Change | This event is fire when this object changes, including changes in any inner properties. |