I have a RadPanelBar with Several GroupElements. I like the look and feel of the OutlookNavPane GroupStyle.

4 posts, 0 answers
  1. Khizar Khan
    Khizar Khan avatar
    41 posts
    Member since:
    Jan 2010

    Posted 10 Feb 2010 Link to this post

    I have a RadPanelBar with Several GroupElements. I like the look and feel of the OutlookNavPane GroupStyle.

     

    There are an indeterminate number of GroupElements. In the picture below(attached image1), 4 groups.

    I would like to the RadPanelBar to look like this:(attached image2)

    With just two groups showing, the rest minimized on the bar at the bottom. The User can achieve this y either dragging the dotted line down, or by using the Down Arrow at the bottom right, and choosing “Show Less Buttons”.

    How can I do this programmatically, at Initialization time?

     

    Also (onus Question), how do I style the top Caption bar?  Is it Themable?

    I am using 2009 Q3, SP1

  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 15 Feb 2010 Link to this post

    Hi Khizar Khan,

    1. If you want to minimize some of the groups, you can do the following:

    OutlookStyle outlookStyle = (this.radPanelBarDemo.PanelBarElement.CurrentStyle as OutlookStyle);
             outlookStyle.ShowFewerButtons();

    2. The code snippet below will show you how to access and modify some of the visual properties of Outlook style caption:

    RadPanelBarVisualElement caption = this.radPanelBarDemo.PanelBarElement.Children[0].Children[0] as RadPanelBarVisualElement;
     
                caption.Padding = new Padding(15);
                caption.BackColor = Color.Blue;
                caption.BackColor2 = Color.Blue;
                caption.BackColor3 = Color.Blue;
                caption.BackColor4 = Color.Blue;

    I hope this helps.

    Sincerely yours,
    Boyko Markov
    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Khizar Khan
    Khizar Khan avatar
    41 posts
    Member since:
    Jan 2010

    Posted 15 Feb 2010 Link to this post

    Thanks this was of help..

    a question about theme,

    I have a user control where I have panelbar control. and my user control is included in another control which has a theme "Breeze", all the other control look good in breeze theme, but I didn't like Panel Bar in Breeze theme
    I want to apply aqua theme to panel bar, I tried within the control

    ThemeResolutionService.ApplyThemeToControlTree(radPanelBar1, "Aqua");

    it is not apply rather, it is takine the parent control theme. any help or suggestions..

    Regards,
    khizar



  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 18 Feb 2010 Link to this post

    Hello Khizar Khan,

    Thank you for contacting us. In order to apply the Aqua theme to RadPanelBar, you can do the following:

    this.radPanelBarDemo.ThemeName = "Aqua";
        
    Please contact us again, in case you need more information.

    Sincerely yours,
    Boyko Markov
    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