We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Selected Node & Property Grid

Hi,

In syncfusion, is it possible that when i select the custom node, the node's property will automatically display its properties in the Property Grid? I had tried to implement GridView_NodeSelected event and assign the evtArg.Node to propertyGrid.SelectedObject but nothing show up. FYI, the node is a custom node that i derived from Node class.


1 Reply

SM Sundar M Syncfusion Team January 21, 2011 10:01 AM UTC

Hi Edmund,

We have created sample for PropertyGrid as per your requirements, in that sample we have created a CustomNodeClass(CustomNode) with the Property named ”NewProperty”. Now Property grid control will display the property for which node you have Selected. In that sample if you Select the node labeled “CustomNode”, PropertyGrid will display the NewProperty also. For more details please refer the sample following below.

Sample :

Please let us know if you have any queries.

Regards,
Sundar M.



PropertyGrid_6bebe88f.zip

Loader.
Live Chat Icon For mobile
Up arrow icon