Customizing the GroupBox

3 posts, 1 answers
  1. Delalande
    Delalande avatar
    2 posts
    Member since:
    Dec 2015

    Posted 31 Mar Link to this post

    Hi,

    I'm using Visual Studio Builder to customize the GroupBox control.

    I want to add a border under the text of the groupBoxHeader with a width of all the groupbox (not only the text area).

    I actually succed adding a border under the text but it's width isn't good for me.

    I have added an attach file to explain what i want to do.

    Is it possible ?

    Cedric

  2. Answer
    Todor Vyagov
    Admin
    Todor Vyagov avatar
    31 posts

    Posted 01 Apr Link to this post

    Hi,

    Thank you for writing.

    To make the header of RadGroupBox as wide as its content area you need to set the GroupBoxStyleproperty of RadGroupBoxElement to Office - see attached image.

    More information about RadGroupBox is available here: GroupBox | UI for WinForms Documentation

    I hope this information helps.

    Regards,
    Todor Vyagov
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Delalande
    Delalande avatar
    2 posts
    Member since:
    Dec 2015

    Posted 01 Apr Link to this post

    Hi,

    Thank you, it's perfect :-)

    Cédric

Back to Top