469,926 Members | 2,174 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,926 developers. It's quick & easy.

How to create a Property Page for my own data type?

I have my own data type, and I want to create a property
page (dialog) for it.

Basically, I want to display my object using the
PropertyGrid control. If I have a variable of type "font",
then the property automatically launches the Font dialog
when I click on that property... I want to create a screen
like this, but for my data-type instead.

I don't know where to start... I can't find anything on
creating "property pages" or "property screens"
or "property dialogs".

Any help would be awesome.
Nov 20 '05 #1
1 1276
You need to look for UITypeEditor in the help.

Read the help entitled "Make Your Components Really RAD with Visual Studio
..NET Property Browser" by Shawn Burke

A search in MSDN for "custom type editor" will bring up several options for
you.

--
Bob Powell [MVP]
C#, System.Drawing

The November edition of Well Formed is now available.
Learn how to create Shell Extensions in managed code.
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Read my Blog at http://bobpowelldotnet.blogspot.com

"Nate" <an*******@discussions.microsoft.com> wrote in message
news:03****************************@phx.gbl...
I have my own data type, and I want to create a property
page (dialog) for it.

Basically, I want to display my object using the
PropertyGrid control. If I have a variable of type "font",
then the property automatically launches the Font dialog
when I click on that property... I want to create a screen
like this, but for my data-type instead.

I don't know where to start... I can't find anything on
creating "property pages" or "property screens"
or "property dialogs".

Any help would be awesome.

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

37 posts views Thread by Steven Bethard | last post: by
18 posts views Thread by Steven Bethard | last post: by
6 posts views Thread by =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.