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

  • Thread starter Thread starter Nate
  • Start date Start date
N

Nate

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.
 
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
 
Back
Top