C# 클래스 Dynamo.Graph.Annotations.AnnotationModel

상속: ModelBase
파일 보기 프로젝트 열기: DynamoDS/Dynamo 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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