SettingsPane Geometry

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

    Posted 20 Jul 2015 Link to this post

    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

     

  2. Martin
    Admin
    Martin avatar
    1099 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.

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top