GoXam for WPF v3
DiagramModel Class Members
Properties  Methods  Events


Northwoods.GoXam.Model Namespace : DiagramModel Class

The following tables list the members exposed by DiagramModel.

Public Properties
 NameDescription
Public Property Gets or sets the format of this model's data.  
Public Property Gets or sets a flag that enables or disables support for undo and redo.  
Public PropertyThis property is true during a call to ChangeModel, indicating a change happening due to an undo or a redo.  
Public PropertyThis property is true after a StartTransaction and before a corresponding CommitTransaction or RollbackTransaction.  
Public Property Gets or sets whether this model is considered changed from an earlier state.  
Public Property Gets or sets whether various model-changing methods are enabled.  
Public Property A name for this model.  
Public PropertyGets or sets a flag that tells OnChanged whether it should notify any UndoManager that a change has occurred.  
Public PropertyGets or sets the UndoManager for this model.  
Top
Protected Properties
 NameDescription
Protected Property Gets or sets whether the model is being constructed or re-constructed.  
Top
Public Methods
 NameDescription
Public Method This is called during an Undo or a Redo to actually make state changes to this model or to this model's data.  
Public Method Call the UndoManager's CommitTransaction method.  
Public MethodRaise a Changed event, given a ModelChangedEventArgs.  
Public MethodOverloaded. Raise a Changed event, given before and after values for a particular property.  
Public Method Call the UndoManager's RollbackTransaction method.  
Public Method Call the UndoManager's StartTransaction method.  
Top
Protected Methods
 NameDescription
Protected Method This is called during undo or redo to effect state changes to model data.  
Protected Method This is called during undo or redo to effect state changes to this model.  
Protected MethodRaises the Changed event.  
Protected MethodReset the fields that should not be shared from a copy created by System.Object.MemberwiseClone.  
Top
Public Events
 NameDescription
Public Event The Changed event is raised whenever the model is modified.  
Top
See Also

Reference

DiagramModel Class
Northwoods.GoXam.Model Namespace
IDiagramModel Interface
GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class
GraphModel<NodeType,NodeKey> Class
TreeModel<NodeType,NodeKey> Class