Model Class

A model is a collection of nodes that are rendered onto a view and manipulated by a controller.
Object Model
Model ClassLayerCollection ClassLayer ClassFillStyle ClassBridgeManager ClassNodeCollection ClassNode ClassPageScale ClassPageSize ClassDocumentEventSink ClassHeaderFooterData ClassHistoryManager ClassLayerCollection ClassLayer ClassLineRouter ClassLineStyle ClassLinkManager ClassNodeCollection ClassNode ClassICompositeNode InterfaceRenderingStyle ClassINode InterfaceShadowStyle Class

A model is the data portion of a diagram. It is the root node in a hierarchy that is rendered onto a view. This class implements the ICompositeNode interface, provides methods for accessing, adding, and removing child nodes. This includes the following methods: ChildCount, GetChild, AppendChild, InsertChild, RemoveChild(Int32). Child nodes in the model can also be accessed through the Nodes property.

A model maintains a collection of layers in the Layers property. A Layer is a collection of nodes that share a common set of default properties and the same Z-order relative to other layers. A model always contains at least one layer. Each node in the model belongs to one and only one layer. The model renders itself onto the view by iterating through the layers and rendering each one. Each layer is responsible for rendering the nodes belonging to it. The PropertyContainer of the Layers collection is a reference back to the model, which allows the layers to inherit properties from the model.

A model contains document-level settings such as: MeasurementUnits

Inheritance Hierarchy



Syncfusion.Diagram.Base: 18.2460.0.44

See Also