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

MVVM sample for Property Grid

Hi,

Could you please provide MVVM sample for PropertyGrid?

We are creating custom Symbols and NodeViewModels for SFDigram and we wish to bind custom NodeViewModel to PropertyGrid control so that user can provide values for properties of the symbol.

Thanks in advance.
Deepak.

1 Reply

PB Priyanga Balasubramaniam Syncfusion Team May 9, 2017 11:12 AM UTC

Hi Deepak,

Thank you for using Syncfusion products.

We have prepared the simple MVVM sample using PropertyGrid and SfDiagram controls. In this sample, while selecting the node we have bound the node to “SelectedObject” property of PropertyGrid. Also using “CustomEditorCollection” of ProperrtyGrid control, we have displayed properties (like MinWidth,MinHeight,UnitHeight,UnitWidth,Opacity and etc.) in Updown control as ValueEditor.

Please download the sample from the below location.

Sample:PropertyGridMVVM

Let us know if you need any other assistance on this.

Regards,
Priyanga B


Loader.
Up arrow icon