I have a CustomRadButtonElement inheriting from RadButtonElement. My objective is to add it to the list of components present in RadStatusStrip "Type Here". Is that Possible?
base.Items.ItemTypes = new Type[] { typeof(CRadButtonElement)};
}
}
0
Peter
Telerik team
answered on 14 Nov 2012, 01:16 PM
Hi Carlos,
Thank you for sharing your solution with the community.
Your approach is correct but it is suitable only for simple controls like RadStatusStrip, RadListControl etc. For complex controls like RadRibbonBar you should add a regular button in design time and then open the Designer file and replace the type from RadButtonElement to your CustomRadButtonElement.