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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

using a list of properties instead of object

Thread ID:





132767 Sep 19,2017 10:55 PM UTC Sep 20,2017 10:31 AM UTC WPF 1
Tags: PropertyGrid
Eric Gurney
Asked On September 19, 2017 10:55 PM UTC

Is there anyway to use a list of properties instead of an object to set the properties.

I'm looking for something like 

List<PropertyInformation> Properties

class PropertyInformation 
     public string Category {get;set;}
     public string Description {get;set;}
     public string DisplayName {get;set;}
     public object Value {get;set;}

so I would have a property like new PropertyInformation { Category = "A", Description = "B", DisplayName ="C", Value =false};

instead of 

class Name 
     public bool RandomBool {get;set;}


Priyanga Balasubramaniam [Syncfusion]
Replied On September 20, 2017 10:31 AM UTC

Hi Eric,

Thank you for using Syncfusion products.

From your update we understood that you try to change the Attribute value at runtime using properties. We could not set Attribute values for properties at run time while define the properties. Due to this reason in current implementation of our PropertyGrid does not provide support to load properties from the collection.

Priyanga B


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon