Class LinkManager
Link Manager service that use for update connector endpoints to it connected connection points.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class LinkManager : Service
Remarks
Collection end point changes and synchronize it on model updating.
Constructors
LinkManager(Model)
Initializes a new instance of the LinkManager class.
Declaration
public LinkManager(Model model)
Parameters
Type | Name | Description |
---|---|---|
Model | model | The model. |
Properties
IsSynchronizing
Gets a value indicating whether end point synchronization is process.
Declaration
public bool IsSynchronizing { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Model
Gets the reference to diagram model.
Declaration
protected Model Model { get; }
Property Value
Type | Description |
---|---|
Model | The model. |
SynchronizationList
Gets the end point synchronization list.
Declaration
protected ArrayList SynchronizationList { get; }
Property Value
Type | Description |
---|---|
System.Collections.ArrayList | The synchronization list. |
Methods
BeginSynchronization()
Start of batch operation .
Declaration
public void BeginSynchronization()
EndSynchronization()
End of batch operation.
Declaration
public void EndSynchronization()
OnStop()
Called when service is stoped.
Declaration
protected override void OnStop()
Overrides
OnSynchronizeCompleted()
Called when endpoint synchronizing completed.
Declaration
protected virtual void OnSynchronizeCompleted()
OnSynchronizeStarted()
Called when endpoint synchronizing started.
Declaration
protected virtual void OnSynchronizeStarted()
SynchronizeEndPoint(EndPoint)
Adds endpoint to synchronization list.
Declaration
public void SynchronizeEndPoint(EndPoint endPoint)
Parameters
Type | Name | Description |
---|---|---|
EndPoint | endPoint | The end point. |
Remarks
If Service is Stopped the method would not do anything.
SynchronizeNodeConnections(Node)
Adds node connections to synchronization list.
Declaration
public void SynchronizeNodeConnections(Node node)
Parameters
Type | Name | Description |
---|---|---|
Node | node | The node. |
Remarks
If Service is Stopped the method would not do anything.
Events
SynchronizeCompleted
Occurs when EndPoints synchronizing is completed.
Declaration
public event EventHandler SynchronizeCompleted
Event Type
Type |
---|
System.EventHandler |
SynchronizeStarted
Occurs when EndPoints synchronizing is started.
Declaration
public event EventHandler SynchronizeStarted
Event Type
Type |
---|
System.EventHandler |
SynhronizeCompleted
Occurs when EndPoints synchronizing is completed.
Declaration
[Obsolete("Use SynchronizeCompleted")]
public event EventHandler SynhronizeCompleted
Event Type
Type |
---|
System.EventHandler |
SynhronizeStarted
Occurs when EndPoints synchronizing is started.
Declaration
[Obsolete("Use SynchronizeStarted")]
public event EventHandler SynhronizeStarted
Event Type
Type |
---|
System.EventHandler |