Hello Sri,
Thank you for writing.
In addition to your code snippet related to the
ItemFormatting event, you should set the PropertyGridItemElement.ValueElement.
DrawFill property to
true:
Since the control uses data virtualization (just like RadGridView and RadListControl) and you should always reset the values of the customized properties, in order to prevent applying the formatting to other items (because of the item reuse). Our
RadPropertyGrid >> Customization help article is quite useful about items formatting.
I hope this information helps. Should you have further questions, I would be glad to help.
Regards,
Desislava
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time.
Watch the videos and start improving your app based on facts, not hunches.