This is a migrated thread and some comments may be shown as answers.

RadRibbonForm TitleBar problem

8 Answers 258 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
.
Top achievements
Rank 1
. asked on 30 Aug 2009, 02:38 PM
Hi,

I set my RibbonForm TitleBar theme to "Desert" but, when i run the application, it seems to be classic windows forms title bar look and feel, even though the desert theme takes place in the Visual S. Design View.

Why does my titlebar theme is overwritten by the classic Windows forms look and feel ?

8 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 31 Aug 2009, 02:25 PM
Hi Nesim,

Thanks for contacting us and for your interest in RadControls for WinForms.

Basically, the RadRibbonForm control is designed to mimic the behavior of the Microsoft Office 2007 applications, i.e. if you are using Windows Vista and you have the Aero effect enabled, the Form will hide its title bar and will show the Windows Vista Glass title bar. However, you can easily discard this behavior by setting the AllowAero property to false. Take a look at the following code snippet:

public Form1()  
{  
    InitializeComponent();  
    this.AllowAero = false;  

I hope this helps.

Do not hesitate to get back to me if you need further assistance.

All the best,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
sayyed mahdi khadishi
Top achievements
Rank 2
answered on 04 Sep 2009, 10:30 AM
hi
i change font titlebar but when i close and open again it in design mode , font return to default
thanks
0
Nick
Telerik team
answered on 04 Sep 2009, 10:49 AM
Hello sayyed mahdi khadishi,

Please give us further details about the issue you are experiencing. A sample application will be very helpful as well. We look forward to helping you further with that.

Regards,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
sayyed mahdi khadishi
Top achievements
Rank 2
answered on 04 Sep 2009, 11:26 AM
hi
i change font titlebar but it don't generate code in Form1.Designer.cs, so when i close and open again form in design mode , font return to default

thanks
0
Deyan
Telerik team
answered on 07 Sep 2009, 02:59 PM
Hi Sayyed,

Since this question is not related to the original one - posted by Nesim - we would like to ask you to open a new support thread so that questions do not get overlapped. Thank you for your time.

Regards,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Arun
Top achievements
Rank 1
answered on 13 Feb 2015, 11:48 AM
Hi Deyan 

I have my form designed with windows 8 theme.But when i made the this.AllowAero = false; ,then when i run the application,I cant see the Windows 8 theme in my form.

Do you have any solution for this?
0
Arun
Top achievements
Rank 1
answered on 13 Feb 2015, 01:01 PM
Hi Deyan 

I have my form designed with windows 8 theme.But when i made the this.AllowAero = false; ,then when i run the application,I cant see the Windows 8 theme in my form.

Do you have any solution for this?
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 17 Feb 2015, 12:43 PM
Hello Arun,

Thank you for writing.

By default, the RadRibbonForm.AllowAero is set to true and if your system have aero effects enabled, the title bar will not be colored as expected. To overcome this behavior you need to set the AllowAero property to false and applied the desired theme. Here is my sample code snippet:
public partial class Form1 : RadRibbonForm
{
    public Form1()
    {
        InitializeComponent();
 
        ThemeResolutionService.ApplicationThemeName = "Windows8";
        this.AllowAero = false;
    }
}

The attached screenshots illustrates the difference. If you are still experiencing any difficulties, feel free to open a support ticket and provide a sample project replicating the undesired look. Thus, we would be able to investigate the precise case and assist you further. Thank you in advance.

I hope this information helps. Should you have further questions, I would be glad to help.
 
Regards,
Dess
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
RibbonBar
Asked by
.
Top achievements
Rank 1
Answers by
Deyan
Telerik team
sayyed mahdi khadishi
Top achievements
Rank 2
Nick
Telerik team
Arun
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or