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

Hiding $type Sub-Property from ExpandoObject Property

1 Answer 10 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 06 Sep 2019, 01:51 PM
Is there an easy way to hide the $type Property of an ExpandoObject in the PropertyGrid? See attached screenshot.

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 11 Sep 2019, 08:37 AM

Hello Ryan,

Thank you for the provided picture. 

What I can suggest is setting the Cancel property of the event arguments of the AutoGeneratingPropertyDefinition to false for that specific property definition. Can you give this approach a try and let me know how it goes? 

I am looking forward to your reply.

Regards,
Vladimir Stoyanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
PropertyGrid
Asked by
Ryan
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or