C# Класс Dynamo.Graph.Annotations.AnnotationModel

Наследование: ModelBase
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
GroupBackground string

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
DeserializeCore ( XmlElement element, SaveContext context ) : void
SerializeCore ( XmlElement element, SaveContext context ) : void
UpdateValueCore ( UpdateValueParams updateValueParams ) : bool

Приватные методы

Метод Описание
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

Описание методов

AnnotationModel() публичный Метод

Initializes a new instance of the AnnotationModel class.
public AnnotationModel ( IEnumerable nodes, IEnumerable notes ) : System
nodes IEnumerable The nodes.
notes IEnumerable The notes.
Результат System

Deselect() публичный Метод

Overriding the Deselect behavior because deselecting the group should deselect the models within that group
public Deselect ( ) : void
Результат void

DeserializeCore() защищенный Метод

protected DeserializeCore ( XmlElement element, SaveContext context ) : void
element System.Xml.XmlElement
context SaveContext
Результат void

Dispose() публичный Метод

Implementation of Dispose method
public Dispose ( ) : void
Результат void

Select() публичный Метод

Overriding the Select behavior because selecting the group should select the models within that group
public Select ( ) : void
Результат void

SerializeCore() защищенный Метод

protected SerializeCore ( XmlElement element, SaveContext context ) : void
element System.Xml.XmlElement
context SaveContext
Результат void

UpdateValueCore() защищенный Метод

protected UpdateValueCore ( UpdateValueParams updateValueParams ) : bool
updateValueParams UpdateValueParams
Результат bool

Описание свойств

GroupBackground публичное свойство

Returns default background of the group
public string GroupBackground
Результат string