ElementShape.CreatePath bounds

2 posts, 0 answers
  1. Valentino
    Valentino avatar
    28 posts
    Member since:
    Aug 2017

    Posted 24 Aug 2017 Link to this post

    I've added a custom toolbox shape using information from this thread. http://www.telerik.com/forums/how-to-custom-a-diagramtoolbox-item

    But in my toolbox, the Key value is displayed as the label way below the actual shape. See toolbox.jpg. It must be to do with the bounds, but how do I set them?

    In my override of ElementShape.CreatePath, where do the values for bounds come from? (see bounds.jpg).

     

  2. Valentino
    Valentino avatar
    28 posts
    Member since:
    Aug 2017

    Posted 24 Aug 2017 in reply to Valentino Link to this post

    I forgot to mention, if I set the Text property as well as Key, the Text is displayed in a more reasonable location, but the Key is still displayed. If I could get the Key to not display, that might be ok.

     

    *I wish we could edit posts

Back to Top