CompositionModel
StockSharp.Diagram
Default implementation of ICompositionModel.
Implementa: ICompositionModel, ICloneable<ICompositionModel>, ICloneable
Construtores
CompositionModel(ICompositionModelBehavior<T, T>)
Initializes a new instance of the CompositionModel.
- behavior
- ICompositionModelBehavior
Propriedades
Elements : IEnumerable<DiagramElement>
Area elements (IChartIndicatorElement, IChartCandleElement, etc.).
IsUndoManagerSuspended : bool
Undo manager is suspended if this property is set to true.
Links : IEnumerable<T>
Links.
Modifiable : bool
Is it possible to edit a composite element diagram.
Nodes : IEnumerable<T>
Nodes.
UndoManager : IUndoManager
IUndoManager
Métodos
ExecuteTransaction(string, Action<CompositionModel<T, T>>)
Execute the specified action in transaction scope.
- name
- Transaction name.
- action
- Action.
RemoveLink(T, string, T, string)
Remove link.
- from
- From node.
- fromPort
- FromPort
- to
- To node.
- toPort
- ToPort
Eventos
ElementAdded : Action<DiagramElement>
Child element added event.
ElementRemoved : Action<DiagramElement>
Child element removed event.
ModelChanged : Action
Changed event.