This is a migrated thread and some comments may be shown as answers.

SettingsPane Geometry

1 Answer 66 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
B
Top achievements
Rank 2
B asked on 20 Jul 2015, 10:20 AM

Hi,

I can't figure out how to change the geometry of a Shape in a Diagram using the SettingsPane. For example, I want to change a circle to a rectangle.

In your example:

http://demos.telerik.com/silverlight/#Diagrams/DesignToolbox

There is a SettingsPane that appears when you click on the cog next to a diagram shape.

Under the Style tab there is a Geometry, but that only changes the line style.

Is there a way to change a circle to a rectangle?

Regards,

Bayram

 

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 21 Jul 2015, 09:00 AM
Hello Bayram,

The settings pane doesn't expose a field for changing the geometry of the shape. In order to achieve the desired effect you can modify the settings pane and implement such functionality with custom code. For example, you can define a combobox with a list of geometries and when the combobox' selection is changed, change the Geometry of the shape. You can find a sample implementation that demonstrates how to customize the settings pane in the CustomSettingsPane SDK example

I hope this information is useful.

Regards,
Martin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Diagram
Asked by
B
Top achievements
Rank 2
Answers by
Martin Ivanov
Telerik team
Share this question
or