Problem removing image from RadTitleBar.

3 posts, 0 answers
  1. john
    john avatar
    13 posts
    Member since:
    Jun 2007

    Posted 17 Jul 2007 Link to this post

    i've created a shaped form and want a titlebar that has nothing but a caption/text field.  i've tried to remove/reset the imageprimitive with no luck.

    thanks...


  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 18 Jul 2007 Link to this post

    Hi John,

    The easiest way to do this is to use the Element Hierarchy Editor at design time. Follow these steps:
    1. Select RadTitleBar in the designer
    2. Click on the smart tag and choose the "Edit UI Elements" option
    3. Navigate trough the tree to StripLayoutPanel.ImagePrimitive
    4. Set the Visibility property to Collapsed
    5. To hide the Close button navigate to the third RadImageButtonElement and set its Visibility property to Collapsed
    6. To hide Minimize and Maximize buttons set Form's MinimizeBox and MaximizeBox properties to False
    Let us know whether this helps.

     
    All the best,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. john
    john avatar
    13 posts
    Member since:
    Jun 2007

    Posted 18 Jul 2007 Link to this post

    oh geez.  is that all i needed to do?  i feel like such a retard!  :-|

    thanks for the quick response jack, i appreciate it.

    -
    john

Back to Top