Skip to main content
Row

ConnectorFormat.HandleCount Property

Returns or specifies the number of adjustment handles for an elbow or curved connector.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

int HandleCount { get; set; }

Property Value

Type Description
Int32

The number of adjustment handles (from two to five).

Remarks

Use the HandleCount property to specify the number of adjustment handles for elbow and curved connectors. These handles are used to change a connector’s size and form. A connector can have two to five handles (including connection points).

ConnectorFormat - HandleCount

The code example below creates an elbow connector with three line segments and three handles (“bentConnector3”).

var connector = worksheet.Shapes.AddConnector(ConnectorType.Elbow, 50f, 50f, 450f, 450f);
connector.ConnectorFormat.HandleCount = 3;
See Also