I reproduced the issue with the designtime behavior you are experiencing.
The workaround I can suggest is to add your code through the API in the application's form constructor after the InitializeComponent
method call. Here is sample code which is setting a few properties of RadButtonElement
which are chldren of RadPanelBarGroupElement
for (int i = 0; i < this.radPanelBarGroupElement6.Items.Count; i++)
RadButtonElement but = this.radPanelBarGroupElement6.Items[i] as RadButtonElement;
if (but != null)
but.ImageIndex = 0;
but.StretchHorizontally = true;
but.TextImageRelation = TextImageRelation.ImageAboveText;
but.ImageAlignment = ContentAlignment.MiddleCenter;
but.TextAlignment = ContentAlignment.MiddleCenter;
I hope this helps. If you have any questions, please contact us again.
the Telerik team