Hi
How can i get the name of the property represented in the RadPropertyGeid.SelectedField
Thanks,
Akram
1 Answer, 1 is accepted
0
Accepted
Yoan
Telerik team
answered on 18 Dec 2012, 10:46 AM
Hi Akram,
You can cast the DataContext of RadPropertyGrid's SelectedField as a PropertyDefinition and then you can get its DisplayName. Please check the following code snippet for a reference:
this.PropertyGrid1.SelectedField.DataContext as PropertyDefinition).DisplayName