ShapeGeometry.ConnectionSiteCount Property
Returns the number of a shapeâs connection sites.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v26.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Property Value
| Type | Description |
|---|---|
| Int32 | A Int32 value that is the connection sitesâ number. |
Remarks
A connection site is used to attach connectors. The number and index order of connection sites depends on the shapeâs geometry type. Generally, the index starts with the top side (0) and grows counterclockwise, as shown below.

Use ConnectorFormat.ConnectStartPoint and ConnectorFormat.ConnectEndPoint method to attach a connector to the shapeâs connection site.
See Also