We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom Ports

Thread ID:





72007 Feb 26,2008 03:22 PM UTC Mar 6,2008 09:43 PM UTC WinForms 1
Tags: Diagram
Asked On February 26, 2008 03:22 PM UTC

When I create a custom port it shows a blue X on the node. Is there a way to make the port not have a symbol associated with it?

Dim pp As ConnectionPoint = New ConnectionPoint()
pp.Position = Position.BottomCenter
pp.VisualType = PortVisualType.Custom
pp.ConnectionPointType = ConnectionPointType.IncomingOutgoing

Administrator [Syncfusion]
Replied On March 6, 2008 09:43 PM UTC

Hi Matt ,

Sorry for the delay. If you want to show the ports without the symbol, then you have to set the node's FillStyle.Color and LineStyle.LineColor to Transparent. Please refer to the following code snippet.

Dim con As ConnectionPoint = New ConnectionPoint()
con.VisualType = PortVisualType.Custom
Dim m_rect As Syncfusion.Windows.Forms.Diagram.Rectangle = New Syncfusion.Windows.Forms.Diagram.Rectangle(120, 30, 60, 30)
m_rect.FillStyle.Color = Color.Transparent
m_rect.LineStyle.LineColor = Color.Transparent

Please refer to the attached sample that illustrates this.


Please let me know if you have any questions.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon