Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ConnectorFormat.HandleCount Property

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

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.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