RadTitleBar caption issue

3 posts, 0 answers
  1. rob
    rob avatar
    2 posts
    Member since:
    Nov 2006

    Posted 17 Jul 2007 Link to this post

    I have dropped a RadTitleBar control into a form with its FormBorderStyle set to "None". I then set the Caption property in the RadTitleBar to "Anything But Default". This shows up in the designer, but when I run the aapplication, the title shows up as "Form1". Even if I remove all of the Caption/Text property values it still shows up as "Form1" when running. What gives? This is a pretty basic custom control property.

    Rob.
  2. rob
    rob avatar
    2 posts
    Member since:
    Nov 2006

    Posted 17 Jul 2007 Link to this post

    Figured it out. When I set the FormBorderStyle to None I left the Text property as Form1. This value overrides the value of the RadTitleBar's Caption property. Seems a bit like reverse inheritance to me ...

    Rob.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 18 Jul 2007 Link to this post

    Hello Rob,

    Yes, we implemented this behavior with intent. When a RadTitleBar component is placed on a form it mimics the Form's default title bar. When you change a Form's property (e.g. MaximizeBox) it reflects RadTitleBar. We will take your opinion in consideration and will eventually add an option to change this behavior.

     
    Best wishes,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top