.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ShapeGeometry.ConnectionSiteCount Property

Returns the number of a shape’s connection sites.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.1.Core.dll


int ConnectionSiteCount { get; }

Property Value

Type Description

A Int32 value that is the connection sites’ number.


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.

Spreadsheet_ConnectionSites XtraSpreadsheet_ConnectionSites_3D

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

See Also