Unlimited nesting of UI elements = What, exactly?

4 posts, 0 answers
  1. Pawz
    Pawz avatar
    51 posts
    Member since:
    Aug 2007

    Posted 10 Dec 2007 Link to this post

    I've heard this term a couple of times (it's even on the feature list of the product page), but I'm not really sure what it actually means.

    I know I seem to be able to drag controls into each other, but I'm not really sure how that is supposed to be useful - so far, it's more a matter of getting annoyed when I'm dragging controls around.

    Is there actually a way to do something like, oh, add a button to the nodes in a treeview? Does anyone have a practical example of how they've used this, and how they've done it?
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 10 Dec 2007 Link to this post

    Hi Pawz,

    Nesting of UI elements is a nice feature if you want to have a control within another control. For example, you can nest our combobox within a RibbonBar chunk. Not all Winforms suites offer this type of functionality, this is why we have listed it as a feature.

    The usability of this feature is not immediately noticable, but it is there in case you need it. Since you mentioned RadTreeView, it has properties which could be used in situations when you want to host items or controls in a tree node. I have attached a very simple project which demonstrates how to add a button to RadTreeNode.

    Let me know if you have other questions.
     

    Best wishes,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Pawz
    Pawz avatar
    51 posts
    Member since:
    Aug 2007

    Posted 18 Mar 2008 Link to this post

    I've got another question - Is there a good / easy way to design a radItem? Like, for example, if I were to host something similar in function to a usercontrol, inside my treeview, with multiple labels & textboxes - how would I design the item? I can't seem to use a shaped form, so standard control layout seems to be out of the picture.

    Take for example, in the sample there's the CollapsiblePane - I'm not sure how to build my own - it seems like each ui element is added in by hand (border, background, caption text, etc) Is that the way to do it, or might I be missing something?

  5. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 21 Mar 2008 Link to this post

    Hi Pawz,

    That is indeed a very interesting question.
    We have such functionality on our TODO list. When implemented, it will allow for very easy creation of custom UI elements. Unfortunately this is a very complex functionality and requires a lot of work to implement it.
    Currently the only way to compose custom UI elements is with code.

    If you have any suggestions, they are most welcome.

    Greetings,
    Jordan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top