Dynamic Property Addition to PropertyGrid Ctl (VB.Net)

  • Thread starter Thread starter otto
  • Start date Start date
O

otto

Hi ,

I have a requirement in my application where in a list of
properties are show in the property grid control.

The senario right now is , i use the property control
provided in .net to show a set of properties by creating a
class with private members and defining their get set
methods and assigning the object of the class to the
property control's selectedobject thus creating the
property grid, going 1 step further i would like to add
more properties to this control at runtime depending on
certain values fetched from the DB, as i cannot add members
to the class at runtime i am looking at alternative
solution to do so.

Thanks in advance
 
Hi ,

I have a requirement in my application where in a list of
properties are show in the property grid control.

The senario right now is , i use the property control
provided in .net to show a set of properties by creating a
class with private members and defining their get set
methods and assigning the object of the class to the
property control's selectedobject thus creating the
property grid, going 1 step further i would like to add
more properties to this control at runtime depending on
certain values fetched from the DB, as i cannot add members
to the class at runtime i am looking at alternative
solution to do so.

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top