PropertyGrid Date en-GB Culture

2 posts, 0 answers
  1. Chris Gethin
    Chris Gethin avatar
    4 posts
    Member since:
    Mar 2010

    Posted 12 Apr 2012 Link to this post


    I am using a RadPropertyGrid and have set the SelectedObject to be an object with a DateTime property. I would like this DateTime property to be displayed using en-GB culture (formatted as dd/MM/yyyy) but I cannot find a way to change this from the default MM/dd/yyyy.

    I assume that I'm missing something fairly obvious! Any help would be much appreciated.


  2. Ivan Petrov
    Ivan Petrov avatar
    713 posts

    Posted 17 Apr 2012 Link to this post

    Hello Chris,

    Thank you for writing.

    RadPropertyGrid uses the culture of the current UI thread to format values. You can change it and all values will be formatted according to the culture you set. As an alternative, you can use the ItemFormatting event to format values. You can read more about formatting the property grid items in our online documentation - Item Formatting.

    I hope that you find this information useful. Should you have further questions, I would be glad to help.
    Ivan Petrov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top