By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,577 Members | 1,899 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,577 IT Pros & Developers. It's quick & easy.

Where Is The Property Control?

P: n/a
What is the control that MS uses for their Property Pages (of a control at
design time)? It looks like it would be a DataGrid control of some sort.
If it is, how do they invert the columns so the headings arevertical (rows)?
Is this type of control available?
Nov 20 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
You could create one, not sure what the default is. If you create a custom
control and it's properties are browsable, they'll show up in the designer
automatically.

However, let's say I have a DataTable called TextBox with two column.

Row1 Column 0 Value = (About) Column1 value string.Empty

Row2 Column0 Value = Appearances

Row3 Column0Value = Text, Column1 = TextBox1
To simulate the expand collapse, you could make another datatable(s) and use
a DataRelation to relate them

Then, create a grid, take of the hearders and bind it. You'll even get the
little + marks.

However there probably is a control out there, I just don't know of it.

Cheers,

Bill
"Daryll SHatz" <ds****@cox.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
What is the control that MS uses for their Property Pages (of a control at
design time)? It looks like it would be a DataGrid control of some sort.
If it is, how do they invert the columns so the headings arevertical (rows)? Is this type of control available?

Nov 20 '05 #2

P: n/a
Hello,

"Daryll SHatz" <ds****@cox.net> schrieb:
What is the control that MS uses for their Property
Pages (of a control at design time)? [...] Is this type of control available?


Have a look at the 'System.Windows.Forms.PropertyGrid' class.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #3

P: n/a
Daryll,
You mean System.Windows.Forms.PropertyGrid?

Hope this helps
Jay

"Daryll SHatz" <ds****@cox.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
What is the control that MS uses for their Property Pages (of a control at
design time)? It looks like it would be a DataGrid control of some sort.
If it is, how do they invert the columns so the headings arevertical (rows)? Is this type of control available?

Nov 20 '05 #4

P: n/a
The class is System.Windows.Forms.PropertyGrid, but is not in your toolbox
by default. You can easily add it:

VS2003: Right click toolbox and choose Add/Remove Items...
VS2002: Something similar
--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

"Maybe it's a game called 'Punish the User'"
"Daryll SHatz" <ds****@cox.net> wrote in message
news:#9**************@TK2MSFTNGP11.phx.gbl...
: What is the control that MS uses for their Property Pages (of a control at
: design time)? It looks like it would be a DataGrid control of some sort.
: If it is, how do they invert the columns so the headings arevertical
(rows)?
: Is this type of control available?
:
:
Nov 20 '05 #5

P: n/a
Where do I find the PropertyGrid???
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message
news:ev**************@TK2MSFTNGP12.phx.gbl...
Daryll,
You mean System.Windows.Forms.PropertyGrid?

Hope this helps
Jay

"Daryll SHatz" <ds****@cox.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
What is the control that MS uses for their Property Pages (of a control at design time)? It looks like it would be a DataGrid control of some sort. If it is, how do they invert the columns so the headings arevertical

(rows)?
Is this type of control available?


Nov 20 '05 #6

P: n/a
Hello,

"Daryll SHatz" <ds****@cox.net> schrieb:
Where do I find the PropertyGrid???


It's a class located in the 'System.Windows.Forms' namespace. Have a look
at Tom's reply on how to add it to the toolbox.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet

Nov 20 '05 #7

P: n/a
Daryll,
As Herfried & Tom stated, it is part of the .NET Framework in both .NET 1.0
& 1.1, it is normally not on your toolbox, so you have to add it.

Heres an article that describes some of what you can do with it:
http://msdn.microsoft.com/library/de...ngpropgrid.asp

http://msdn.microsoft.com/library/de...classtopic.asp

Hope this helps
Jay

"Daryll SHatz" <ds****@cox.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Where do I find the PropertyGrid???
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message news:ev**************@TK2MSFTNGP12.phx.gbl...
Daryll,
You mean System.Windows.Forms.PropertyGrid?

Hope this helps
Jay

"Daryll SHatz" <ds****@cox.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
What is the control that MS uses for their Property Pages (of a
control
at design time)? It looks like it would be a DataGrid control of some sort. If it is, how do they invert the columns so the headings arevertical

(rows)?
Is this type of control available?



Nov 20 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.