Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143137 | Mar 6,2019 06:09 AM UTC | Mar 6,2019 12:25 PM UTC | WinForms | 3 |
![]() |
Tags: Diagram |
// it notifies when new node or connector get added in diagram
this.diagram1.Model.EventSink.NodeCollectionChanged += EventSink_NodeCollectionChanged;
private void EventSink_NodeCollectionChanged(CollectionExEventArgs evtArgs)
{
if (evtArgs.Element is OrgLineConnector)
{
// To disbale coonector get connected with another connector
(evtArgs.Element as OrgLineConnector).EnableCentralPort = false;
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.