Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » Ribbon in a User Control Collapse All
Subject Author Date
Helmut Wahrmann May 10, 2010 - 12:59 PM

Hi,

I want to put the Ribbon into a UserControl, so that Ribbon specific code is separated from the rest of the app.
Is this supported?

i’m docking the user Control on Top of the from, but the standard windows title bar is still shown.

Any idea?

thanks,

Helmut

Helmut Wahrmann May 18, 2010 - 11:35 PM

works perfect

thanky you

Helmut Wahrmann May 18, 2010 - 11:34 PM

works perfect.
Thank you

Technical Support May 11, 2010 - 4:55 AM

Put the following code into the OnLoad method of your main form:

protected override void OnLoad(EventArgs e)
{
            this.userControl1.ribbon1.CustomTitleBarEnabled = true;
            base.OnLoad(e);
}
This should help. If it doesn’t help, just let us know so we’ll send you a sample project.

Helmut Wahrmann May 19, 2010 - 2:54 PM

I’m still struggling a bit.
The control doesn’t resize correctly.

A sample project would be appreciated.

thanks,

Helmut

Technical Support May 21, 2010 - 7:30 AM

We prepared a sample project that should help you. Please use the link below to download it.

RibbonInUserControlTest.zip