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

Groupbox without text theme issue

1 Answer 54 Views
GroupBox
This is a migrated thread and some comments may be shown as answers.
Kun
Top achievements
Rank 2
Kun asked on 19 Dec 2018, 11:28 AM

Hello,

Some of my groupbox have no header text. I've found out a little spot in place of header in Office2007 theme even there is no header text.

In order to figure out by myself, I've compared most of telerik themes. Please see what I've found in the attach picture.

How can I hide the little spot (or the little blank in some theme)?

Is this normal? Any idea? 

Thank you by advance.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 20 Dec 2018, 09:18 AM
Hi Kun,

Even that the header element does not have text it is still part of the layout and it can have a border or fill that remains visible. In this case, you need to hide the entire header element. Here is the code:
this.radGroupBox2.GroupBoxElement.Header.Visibility = ElementVisibility.Collapsed;

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GroupBox
Asked by
Kun
Top achievements
Rank 2
Answers by
Dimitar
Telerik team
Share this question
or