This is a migrated thread and some comments may be shown as answers.

Readonly properties

1 Answer 43 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 1
Erik asked on 05 Feb 2012, 07:13 PM
When writing customized property definitions, is it possible to mark properties as readonly? The workaround I have now is setting a control's IsEnabled property to false in the editortemplate

1 Answer, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 06 Feb 2012, 07:59 AM
Hi Erik,

RadPropertyGrid will support DataAnnotations in our next official release - Q1 2012 coming in the middle of February. So, you will be able to set ReadOnly(true) attribute to the properties you want and the property grid will respect it. 

Regards,
Maya
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
PropertyGrid
Asked by
Erik
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or