I want to create a class of RadGroupBox that when I drop my class on a form, that there is no "TEXT" value. We use the GroupBox alot in our system, /w out the HEADER TEXT. So far, my attempts have failed. Here is my GroupBy class.
public sealed class NtsRadGroupBoxNoHeader : RadGroupBox
{
#region Public Constructors
public NtsRadGroupBoxNoHeader()
{
Padding = new System.Windows.Forms.Padding(2);
ThemeClassName = "Telerik.WinControls.UI.RadGroupBox";
Text = string.Empty;
AccessibleName = string.Empty;
AccessibleDescription = string.Empty;
((Telerik.WinControls.Primitives.TextPrimitive)(GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Text = string.Empty;
}
#endregion Public Constructors
}