Class CentralPort
Inherit from ConnectionPoint. Used as shape port.
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable
System.IDisposable
Inherited Members
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 |
|
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
Dispose()
Declaration
public override void Dispose()
Overrides
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
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
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable
System.IDisposable