C# Class Dynamo.Graph.Annotations.AnnotationModel

Inheritance: ModelBase
Afficher le fichier Open project: DynamoDS/Dynamo Class Usage Examples

Méthodes publiques

Свойство Type Description
GroupBackground string

Méthodes publiques

Méthode Description
AnnotationModel ( IEnumerable nodes, IEnumerable notes ) : System

Initializes a new instance of the AnnotationModel class.

Deselect ( ) : void

Overriding the Deselect behavior because deselecting the group should deselect the models within that group

Dispose ( ) : void

Implementation of Dispose method

Select ( ) : void

Overriding the Select behavior because selecting the group should select the models within that group

Méthodes protégées

Méthode Description
DeserializeCore ( XmlElement element, SaveContext context ) : void
SerializeCore ( XmlElement element, SaveContext context ) : void
UpdateValueCore ( UpdateValueParams updateValueParams ) : bool

Private Methods

Méthode Description
AddToSelectedModels ( ModelBase model, bool checkOverlap = false ) : void

This is called when a model is deleted from a group and UNDO is clicked.

CalculateWidthAndHeight ( ) : Double>.Tuple

Group the Models based on Height and Width

CheckModelIsInsideGroup ( ModelBase model, bool checkOverlap ) : bool
UpdateBoundaryFromSelection ( ) : void

Updates the group boundary based on the nodes / notes selection.

model_Disposed ( ModelBase model ) : void

Recalculate the group when a node is disposed

model_PropertyChanged ( object sender, System e ) : void

Method Details

AnnotationModel() public méthode

Initializes a new instance of the AnnotationModel class.
public AnnotationModel ( IEnumerable nodes, IEnumerable notes ) : System
nodes IEnumerable The nodes.
notes IEnumerable The notes.
Résultat System

Deselect() public méthode

Overriding the Deselect behavior because deselecting the group should deselect the models within that group
public Deselect ( ) : void
Résultat void

DeserializeCore() protected méthode

protected DeserializeCore ( XmlElement element, SaveContext context ) : void
element System.Xml.XmlElement
context SaveContext
Résultat void

Dispose() public méthode

Implementation of Dispose method
public Dispose ( ) : void
Résultat void

Select() public méthode

Overriding the Select behavior because selecting the group should select the models within that group
public Select ( ) : void
Résultat void

SerializeCore() protected méthode

protected SerializeCore ( XmlElement element, SaveContext context ) : void
element System.Xml.XmlElement
context SaveContext
Résultat void

UpdateValueCore() protected méthode

protected UpdateValueCore ( UpdateValueParams updateValueParams ) : bool
updateValueParams UpdateValueParams
Résultat bool

Property Details

GroupBackground public_oe property

Returns default background of the group
public string GroupBackground
Résultat string