473,395 Members | 1,437 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,395 software developers and data experts.

Static properties in a class and PropertyGrid

Hi,

I have a class (in 1.1 NET) that defines static properties. Thes class
doen'st have public constructor.
How can I connect this class to the PropertyGrid to edit static properties ?

Thank's
Nov 16 '05 #1
2 4190
I think it is impossible to do this...

"Polo" <pb@rtech.be> wrote in message
news:OU**************@TK2MSFTNGP14.phx.gbl...
Hi,

I have a class (in 1.1 NET) that defines static properties. Thes class
doen'st have public constructor.
How can I connect this class to the PropertyGrid to edit static properties
?

Thank's

Nov 16 '05 #2
Hi,

It's not possible, you will have to do some work here, probably derive it
and create your custom class, I suggest you to search in google groups
first, almost for sure somebody did this before.

Please post back your solution for the archive.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Polo" <pb@rtech.be> wrote in message
news:OU**************@TK2MSFTNGP14.phx.gbl...
Hi,

I have a class (in 1.1 NET) that defines static properties. Thes class
doen'st have public constructor.
How can I connect this class to the PropertyGrid to edit static properties
?

Thank's

Nov 16 '05 #3

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

Similar topics

3
by: Martin Montgomery | last post by:
I have, for example, a property called myProperty. I would like, when using a property grid to display the property name as "My Property". Is this possible. Is there an attribute etc Thank ...
2
by: poifull | last post by:
In the "Properties Window" in the Visual Studio Environment. When you click on Categorized View, properties are grouped by property types with an collapsible icon next to the type name. That...
2
by: Patrick | last post by:
I remeber seeing a sample on th e.net (and in fact i tried this too - but lost the source code), to achieve the following. Dropping a control onto a form, which is exactly like the properties...
5
by: | last post by:
Hi, NG! Does anyone have any hint on how to get the PropertyGrid control to display more user-friendly "property" names, i.e. names that contain spaces, just the way the VS IDE does when you...
0
by: movieknight | last post by:
Hi, I have a class which I am feeding to the propertygrid, and I am exposing a Mesh object from my class for the propertygrid to display. I want the propertygrid to show the values (when you...
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;...
3
by: ippo | last post by:
Hi all, I have a silly problem with treeview. I'm using .NET 2.0. I need to set the two properties treeNodeSrc - treeNodeTypeSrc at run time using C#, but in the treeViews that I define, these two...
3
by: michelqa | last post by:
Hi, I have a form with a control..(a button for example). Then the control properties are displayed in a propertyGrid control. Is there any simple way to remove some unwanted properties from...
0
by: michelqa | last post by:
I'm looking for a way to display a string collection where each element of the collection have some properties. By example : MyCollectionItem0 MyPropertyA MyPropertyB MCollectionItem1...
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: 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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.