SettingsPane Geometry

2 posts, 0 answers
  1. B
    B avatar
    74 posts
    Member since:
    Jul 2011

    Posted 20 Jul 2015 Link to this post


    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:

    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?




  2. Martin
    Martin avatar
    1042 posts

    Posted 21 Jul 2015 Link to this post

    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.

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top