RadRibbonForm TitleBar problem

9 posts, 0 answers
  1. .
    . avatar
    7 posts
    Member since:
    Aug 2009

    Posted 30 Aug 2009 Link to this post

    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 ?
  2. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 31 Aug 2009 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. sayyed mahdi khadishi
    sayyed mahdi khadishi avatar
    5 posts
    Member since:
    Sep 2009

    Posted 04 Sep 2009 Link to this post

    hi
    i change font titlebar but when i close and open again it in design mode , font return to default
    thanks
  5. Nick
    Admin
    Nick avatar
    767 posts

    Posted 04 Sep 2009 Link to this post

    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.
  6. sayyed mahdi khadishi
    sayyed mahdi khadishi avatar
    5 posts
    Member since:
    Sep 2009

    Posted 04 Sep 2009 Link to this post

    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
  7. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 07 Sep 2009 Link to this post

    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.
  8. Arun
    Arun avatar
    2 posts
    Member since:
    Nov 2014

    Posted 13 Feb 2015 in reply to Deyan Link to this post

    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?
  9. Arun
    Arun avatar
    2 posts
    Member since:
    Nov 2014

    Posted 13 Feb 2015 Link to this post

    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?
  10. Dess
    Admin
    Dess avatar
    1601 posts

    Posted 17 Feb 2015 Link to this post

    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.

     
Back to Top
UI for WinForms is Visual Studio 2017 Ready