in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

RibbonForm - Use Pages as Tabs

Last post 11/24/2008 7:11 AM by Gaston Loos. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
Previous Next
  • 10/31/2007 2:34 AM

    RibbonForm - Use Pages as Tabs

    Hello,

    This is my first post. I just want to start off by saying thanks for such a great product.

     Is it possible to use the RibbonControl Pages, from within a RibbonForm, as tabs? Possibly a new "ClientPanel" for each Page that is selected.

     Thanks for your time.

     


    - Jim
    Filed under:
  • 11/6/2007 10:03 AM In reply to

    Re: RibbonForm - Use Pages as Tabs

    Hi James,

    You can do the following:

    1) Derive from the RibbonControl class and override the ShowMinimizedRibbon() method:

        public class MyRibbonControl : RibbonControl {

            protected override void ShowMinimizedRibbon() { }

        }

    2) Minimize the ribbon control:

    public partial class Form1 : DevExpress.XtraBars.Ribbon.RibbonForm {

        public Form1() {

            InitializeComponent();

            ribbonControl1.Minimized = true;

        }

    }

    Thanks, Nathan.
    R&D, .NET Team, Developer Express Inc.
    P.S. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/Support/Center
  • 11/24/2008 7:11 AM In reply to

    Re: RibbonForm - Use Pages as Tabs

     Hi,

    The above is clear to me. But I want the page-item-captions to show as if they are down when I click one of them. I cannot find a property to show the tab as being pressed.

    Can you help me out?

    Regards,

    Gaston

Page 1 of 1 (3 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED