I am using an Extended Toolkit propertyGrid
. I need to customize it according to the user defined language preference.
From this tutorial I have seen that the display name and other features can be hard-codedly changed.
public class Customer
{
public int ID { get; set; }
[ExpandableObject]
[Category("General settings")]<-------hard coded feature change
[DisplayName("Nome persona")]<--------hard coded feature change
public string FirstName { get; set; }
public string LastName { get; set; }
public Gender Gender { get; set; }
public DateTime BirthDate { get; set; }
public string Phone { get; set; }
}
public enum Gender { Male, Female }
}
But I need to do it on the runtime! Thank you for your help