Displaying an array of custom classes in Propertygrid

  • Thread starter Thread starter karen.mcdonagh
  • Start date Start date
K

karen.mcdonagh

Hi,
I have an array of Custom Classes that have three properties which
is displayed in the property grid. I would like to make this a bit
more user friendly. Has anyone any suggestions or articles I could use
to do this.

Thanks
Karen
 
Could you be a little more specific as to what you are looking for?

There are a number of attributes you can set such as
[Category("CategoryName")] that you can use to modify where the
property is displayed in the property grid. If you just want some
general help on different ways you can learn to present your properties
to users then I would suggest looking into the various attributes
availalble to use.

Some you might find usefull:
[Category("CategoryName")]
[Display(true)]
[DefaultValue("Defautl Value")]

There are many many more, those are three of my most commonly used
attributes, usualy the Display() one is set to false, that hides the
property from the user in the property grid.

gm
 
Back
Top