473,387 Members | 3,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Using the PropertyGrid Component

Hi,

I am trying to use the PropertyGrid component. I am showing properties
of an object. Such properties that I added include simple data types:
int string.

Now I would like one of the propeties in the PropertyGrid component to
be a DialogBox like the Font dialogBox. (In my case I will be creating
and using my own dialog box).

How can this be done.
Thanks in Advance

Jan 6 '06 #1
1 1534
Look at EditorAttribute and UITypeEditor.

I recommend "Windows Forms Programming in C#" by Chris Sells for his
excellent coverage of design time integration which includes bending the
PropertyGrid to your will.

The 2.0 property grid has a few more convenience fetures but I think the
editor stuff is still the same

"Curious" <th****@mail.global.net.mt> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
Hi,

I am trying to use the PropertyGrid component. I am showing properties
of an object. Such properties that I added include simple data types:
int string.

Now I would like one of the propeties in the PropertyGrid component to
be a DialogBox like the Font dialogBox. (In my case I will be creating
and using my own dialog box).

How can this be done.
Thanks in Advance

Jan 6 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dave Girvitz | last post by:
I have a PropertyGrid (Windows Forms App) based component that uses TypeConverters to generate ranges of acceptable values for properties. The idea was that I could download the key/value pairs...
0
by: micro_bug | last post by:
Now I am developing a tool, just like VS.net Form Edition environment. User can edit a component's properties by a PropertyGrid control. Now I have some questions about this PropertyGrid control:...
5
by: Lance | last post by:
I want to expose properties of a class to a user via a PropertyGrid class. Some of the properties are of type System.IO.FileInfo. Ideally, an OpenFileDialog window would appear when the user...
4
by: Tugrul HELVACI | last post by:
Changing DisplayNames of my properties using PropertyGrid component, how ?? I'm using Delphi 2006 and I have a class defination like this: TPerson = class fPersonName : String;...
0
tbarto
by: tbarto | last post by:
Hello I need to get access to the content of PropertyGrid component that is a part of an application developed in C#. I need to do that from an external application, under windows API. The problem...
1
by: moni | last post by:
Hi, I was hoping to know, how I could change the text of the associated control in a property grid to bold, on an event propertyGrid1_PropertyValueChanged(object s,...
3
by: Redivivus | last post by:
Hi Ho to use dropdown in propertygrid with values from database? Lets say i have table ITEMS and columns ID, NAME Now i want to select id, name from items and display those values in...
2
by: matthijsdezwart | last post by:
Hi, I was wondering if someone can help me out with a propertygrid problem. Someone else made a program where I insert my script. This script has some propertíes, which are specified like: ...
0
by: JerryShaw | last post by:
Problem: create a new winform app in C# VS2008. Drop a PropertyGrid component, Drop a DataSet (untyped) Set the PropertyGrid.SelectedObject to the DataSet. Run the application, and try to select...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.