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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Using DataAnnotations to show properties

Thread ID:

Created:

Updated:

Platform:

Replies:

143282 Mar 12,2019 08:06 PM UTC Mar 15,2019 01:12 PM UTC WPF 2
loading
Tags: PropertyGrid
Aleksander Zotov
Asked On March 12, 2019 08:06 PM UTC

Greetings!

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!


Jagadeesan Pichaimuthu [Syncfusion]
Replied On March 13, 2019 12:50 PM UTC

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. 

Regards, 
Jagadeesan 


Keerthana Jegannathan [Syncfusion]
Replied On March 15, 2019 01:12 PM UTC

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.  
  
Regards,  
Keerthana J  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;