We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Using DataAnnotations to show properties


I am having my own Resources file for localization. 
Previously I used PropertyGrid from Xceed, but now I want to use yours.
Is there a possibility to use System.ComponentModel.DataAnnotations to set up a category with properties from .cs side?
Like for example:
     [Display(Name = "General_ScreenName", GroupName = "General_General", Order = 0, ResourceType = typeof(Resources))]
where General_ScreenName and General_General are my local variables from resource file.
I tried to search through examples, but none of them shows how to do it through .cs and with localized strings.

Thank you in advance!

2 Replies

JP Jagadeesan Pichaimuthu Syncfusion Team March 13, 2019 07:50 AM

Hi Aleksander, 

Thanks for using Syncfusion product. 

We are currently analyzing your requirement is to fetch the details from resx file and to update the details of the properties in PropertyGrid. So we need some more time to analyze this support in our end, so we will provide the more details on March 15th ,2019. 

We appreciate your patience until then. 


KJ Keerthana Jegannathan Syncfusion Team March 15, 2019 08:12 AM

Hi Aleksander,  
Sorry for the inconvenience caused. Still, we are analyzing the possibilities to use DataAnnotations and apply localization from resx file to update the details of the properties in PropertyGrid and we will update you the complete details by March 22nd , 2019.  
Keerthana J  

Live Chat Icon For mobile
Up arrow icon