menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CentralPort - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CentralPort

    Inherit from ConnectionPoint. Used as shape port.

    Inheritance
    System.Object
    PropertyContainer
    AnchoringPrimitive
    ConnectionPoint
    CentralPort
    Implements
    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    System.IDisposable
    Inherited Members
    AnchoringPrimitive.Container
    AnchoringPrimitive.Draw(Graphics)
    AnchoringPrimitive.GetPosition()
    AnchoringPrimitive.ID
    AnchoringPrimitive.InvokeUpdateCallback()
    AnchoringPrimitive.OffsetX
    AnchoringPrimitive.OffsetY
    AnchoringPrimitive.OnMeasureUnitsChanging(MeasureUnits, MeasureUnits)
    AnchoringPrimitive.Position
    AnchoringPrimitive.RecordPropertyChanged(String)
    ConnectionPoint.AllowConnectOnDrag
    ConnectionPoint.CanConnect(EndPoint)
    ConnectionPoint.CheckType(EndPoint)
    ConnectionPoint.Connect(EndPoint)
    ConnectionPoint.ConnectionPointSize
    ConnectionPoint.ConnectionPointType
    ConnectionPoint.Connections
    ConnectionPoint.ConnectionsLimit
    ConnectionPoint.Disconnect(EndPoint)
    ConnectionPoint.DisconnectAll()
    ConnectionPoint.FillStyle
    ConnectionPoint.FullName
    ConnectionPoint.GetPropertyContainerName()
    ConnectionPoint.GraphicsPath
    ConnectionPoint.HitTestPadding
    ConnectionPoint.LineStyle
    ConnectionPoint.Name
    ConnectionPoint.PositionChange(Single, Single)
    ConnectionPoint.Size
    ConnectionPoint.Tag
    ConnectionPoint.TryConnect(EndPoint)
    ConnectionPoint.UpdateServiceReferences(IServiceReferenceProvider)
    ConnectionPoint.Visible
    ConnectionPoint.VisualType
    PropertyContainer.FullContainerName
    PropertyContainer.GetPropertyContainerByName(String)
    PropertyContainer.HistoryService
    PropertyContainer.InheritContainerMeasureUnits
    PropertyContainer.IPropertyObserver.OnPropertyChanged(String, String)
    PropertyContainer.IPropertyObserver.OnPropertyChanging(String, String, Object)
    PropertyContainer.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
    PropertyContainer.m_propertyObserver
    PropertyContainer.MeasureUnit
    PropertyContainer.OnPropertyChanged(String)
    PropertyContainer.OnPropertyChanging(String, Object)
    PropertyContainer.PropertyObserber
    PropertyContainer.ProvideServiceReference(RuntimeTypeHandle)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class CentralPort : ConnectionPoint, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, ICloneable, ISerializable, IDisposable

    Constructors

    CentralPort()

    Initializes a new instance of the CentralPort class.

    Declaration
    public CentralPort()

    CentralPort(CentralPort)

    Initializes a new instance of the CentralPort class.

    Declaration
    public CentralPort(CentralPort src)
    Parameters
    Type Name Description
    CentralPort src

    The SRC.

    CentralPort(Node, GraphicsPath)

    Initializes a new instance of the CentralPort class.

    Declaration
    public CentralPort(Node container, GraphicsPath gpPortShape)
    Parameters
    Type Name Description
    Node container

    The container.

    System.Drawing.Drawing2D.GraphicsPath gpPortShape

    The gp port shape.

    CentralPort(SerializationInfo, StreamingContext)

    Initializes a new instance of the CentralPort class.

    Declaration
    public CentralPort(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The info.

    System.Runtime.Serialization.StreamingContext context

    The context.

    Properties

    DrawCentralPort

    Gets or sets a value indicating whether port is visible.

    Declaration
    public bool DrawCentralPort { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if port is visible ; otherwise, false.

    Methods

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    A new object that is a copy of this instance.

    Overrides
    ConnectionPoint.Clone()

    Dispose()

    Declaration
    public override void Dispose()
    Overrides
    ConnectionPoint.Dispose()

    GetObjectData(SerializationInfo, StreamingContext)

    Gets the object data to serialize instance.

    Declaration
    protected override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The serialization info.

    System.Runtime.Serialization.StreamingContext context

    The serialization context.

    Overrides
    ConnectionPoint.GetObjectData(SerializationInfo, StreamingContext)

    Render(Graphics)

    Renders the specified graphics.

    Declaration
    protected override void Render(Graphics gfx)
    Parameters
    Type Name Description
    System.Drawing.Graphics gfx

    Graphics to draw on.

    Overrides
    ConnectionPoint.Render(Graphics)

    Implements

    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved