PC Review


Reply
Thread Tools Rate Thread

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

 
 
Nate
Guest
Posts: n/a
 
      15th Dec 2003
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.
 
Reply With Quote
 
 
 
 
Bob Powell [MVP]
Guest
Posts: n/a
 
      15th Dec 2003
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" <(E-Mail Removed)> wrote in message
news:034c01c3c352$52a31560$(E-Mail Removed)...
> 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.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get the Data Type of a Property DrRocket Microsoft Excel Programming 0 12th Sep 2007 06:12 PM
create 2 list loan and property type =?Utf-8?B?Q2Fzc3k=?= Microsoft Access VBA Modules 0 10th Nov 2005 12:31 AM
How to define a property as an Image data type? =?Utf-8?B?Um9iZXJ0IFcu?= Microsoft C# .NET 4 13th May 2005 09:00 AM
Change the data type property of a field in a table =?Utf-8?B?U0hJUFA=?= Microsoft Access VBA Modules 1 22nd Dec 2004 10:18 PM
How to create an object of type returned by a property Alex Microsoft VB .NET 2 15th Jun 2004 10:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:33 AM.