473,238 Members | 1,602 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,238 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 1528
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: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.