As far as I understand you need to be able to align (in the middle) RadDiagramShapes
with different sizes so that the connection between will be straight lines. You are right that with the current implementation of the snapping feature you are not allowed to snap the shapes in the middle.
Please note that currently the shapes are snapped only to the edges of other shapes and the background grid. This is so, because if we snap the shapes to more additional points, like middle of shape, the performance will decrease.
However, I will make sure that we will consider if we can implement such additional snapping and keep the performance of the RadDiagram
framework as high as possible. Please stay tuned for new feature request so you can follow it if we decide to log it into our PITS.
Till we further investigate this request you can use the align method of the RadSettingsPane
. Please take a look at this demo
where we demonstrate how you can use the RadSettingsPane
Basically, If you select many shapes and open the RadSettingsPane
, you can navigate to the Home
tab of the control and then click on the Arrange
button. After that you will be able to choose alignment option. In your scenario you can choose middle
Pavel R. Pavlov
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>