Datagrid that looks like 'Properties' windows in VS.Net

  • Thread starter Thread starter Brett Robichaud
  • Start date Start date
B

Brett Robichaud

Can anyone point me at some sample code that creates a datagrid that looks
and acts something like the 'Properties' window in Visual Studio .Net?
Specifically I'm looking for a grid that has two columns where col1 is not
editable. Ideally col2 would support a number of different controls but I
understand the datagrid is kinda brain dead in that respect.

Anyone run across some sample code that implements something like this?

-Brett-
 
You could use the property grid that you referenced. There is plenty of good
reading if you google it.
 
Man, I can't believe there is actually a control to do exactly this and I
didn't see it. Silly me, I assumed all the controls showed up in the VStudio
toolbox in the designer.

Thanks for pointing this out. Looks like exactly what I need!

-Brett-
 
Hello Brett,

You'll find numerous controls that dont show up in the designer... Right click on your toolbox and click Add Component. Anything thats unchecked in that list isnt in your toolbox. You'll find some neat toys there.
 
Back
Top