How can I size a RadPanelBarGroupElement with a splitter?

6 posts, 0 answers
  1. bute
    bute avatar
    10 posts
    Member since:
    Aug 2007

    Posted 26 Dec 2007 Link to this post

    Greetings,

    I have a RadDockPanel with a RadPanelBar on it, with multiple RadPanelBarGroupElements on the RadPanelBar.  I'd like a horizontal splitter between each RadPanelBarGroupElement (as exists between/attached to multiple DockPanels for example, making each dock panel sizable)...So I can allow the user to size each RadPanelBarGroupElement...as well as collapse them which i'm currently allowing...

    Thoughts?

    Thanks,
    GBute
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 27 Dec 2007 Link to this post

    Hi Gray,

    Thank you for writing.

    We don't have this functionality built-in RadPanelBar and currently there is no way to work around it. Implementing this feature would require quite some time, so we ask you to tell us if this feature is a must for you.

    If so, we will consider adding support for it in future versions of RadPanelBar.

    Please write us back if you have any 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. bute
    bute avatar
    10 posts
    Member since:
    Aug 2007

    Posted 28 Dec 2007 Link to this post

    Hello Boyko, thanks for the response...This is a must for us...for now we'll attempt to get around it by putting dock panels inside dock panels...

    Though with that approach we lose the nice collapsible chevron we had with the RadPanelBarGroupElements.

    Is there a simple way to make the dock panel have the collapsible chevron?

    Thanks again

  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 02 Jan 2008 Link to this post

    Hello bute,

    Please, refer to the codeblock below. It adds a RadButton to a dockPanel's caption element (where dockPanel is an isntance of DockPanel):

    DockPresenterCaptionElement captionElement = (dockPanel.DefaultPresenter as DockPresenterControl).DockPresenterElement.Children[2].Children[0] as DockPresenterCaptionElement;
    RadButtonElement buttonElement = new RadButtonElement();
    buttonElement.Text =
    "Button";
    buttonElement.Alignment =
    ContentAlignment.MiddleRight;
    captionElement.Children[2].Children.Insert(0, buttonElement);

    What you should do is: add a chevron image to the button's image property.
    You can find the chevron images in collapsed and expanded state attached.

    Contact us again with any other questions you have.

    Sincerely yours,
    Boyko Markov
    the Telerik team


    Instantly find answers to your questions at the new Telerik Support Center
  6. Alcatraz
    Alcatraz avatar
    15 posts
    Member since:
    Mar 2010

    Posted 25 May 2010 Link to this post

    Hi,

    With regards to the original question by bute, do you have any feature in RadPanelbar control (Q12010 SP1) which can allow having a splitter.

    Thanks
    Kris
  7. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 27 May 2010 Link to this post

    Hi Alcatraz,

    The only splitter that RadPanelBar implements is the one between the content panel and the group captions in OutlookStyle. By dragging this splitter you can hide/show groups and increase/decrease the size of the content panel. For additional information about the OutlookStyle, please refer to our Examples application, section PanelBar >> Layout, and select the Outlook Nav Pane option.

    Kind regards,
    Nikolay
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
Back to Top
UI for WinForms is Visual Studio 2017 Ready