5 Answers, 1 is accepted
0
Accepted

Richard Slade
Top achievements
Rank 2
answered on 17 Feb 2011, 09:03 PM
Hi Lily,
You can change the header in the following way
hope that helps
Richard
You can change the header in the following way
GroupBoxHeader element = (GroupBoxHeader)
this
.radGroupBox1.GroupBoxElement.Children[1];
element.AutoSize =
false
;
element.Size =
new
Size(element.Size.Width, 36);
hope that helps
Richard
0

Lily
Top achievements
Rank 1
answered on 17 Feb 2011, 09:32 PM
I tried this code, it does not work. The header disappeared complitely, the size of the group box is changed.
Lily
Lily
0
Accepted

Richard Slade
Top achievements
Rank 2
answered on 17 Feb 2011, 09:37 PM
Hi Lily,
Attached is a screenshot of how the code affected the RadGroupBox when the style is set to
This is for Q3 2010 SP1 (the latest version) Are you using an earlier version? If so, I would advise to upgrade as there are many enhancements, fixes and new products available in the latest version.
Please let me know if I can help further
Thanks
Richard
Attached is a screenshot of how the code affected the RadGroupBox when the style is set to
this
.radGroupBox1.GroupBoxStyle = RadGroupBoxStyle.Office;
This is for Q3 2010 SP1 (the latest version) Are you using an earlier version? If so, I would advise to upgrade as there are many enhancements, fixes and new products available in the latest version.
Please let me know if I can help further
Thanks
Richard
0

Lily
Top achievements
Rank 1
answered on 17 Feb 2011, 10:23 PM
It was my error, I placed the code in the incorrect place
Thank you
Lily
Thank you
Lily
0

Richard Slade
Top achievements
Rank 2
answered on 17 Feb 2011, 10:34 PM
You're welcome. Please remember to mark as answer too.
Many thanks
Richard
Many thanks
Richard