Skip to content

About

Change a shape's connection points at runtime

Topics

Resources

Stars

0 stars

Watchers

33 watching

Forks

Latest commit

 

History

68 Commits

Folders and files

Repository files navigation

DiagramControl for WinForms - Change a Shape's Connection Points at Runtime

This example modifies a shape's ConnectionPoints collection at runtime. To illustrate this behavior, we added a trackbar that changes the number and position of connection points.

image

The ConnectionPoints collection does not have public members that allow you to add or remove items. To accomplish this task, create a new point collection and assign it to the ConnectionPoints property:

PointFloat[] points = new PointFloat[...];
shape.ConnectionPoints = new DevExpress.Diagram.Core.DiagramPointCollection(points);

Files to Review

Documentation

More Examples

Does This Example Address Your Development Requirements/Objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Change a shape's connection points at runtime

Topics

Resources

Stars

0 stars

Watchers

33 watching

Forks

Used by

Contributors

Languages