473,385 Members | 2,028 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,385 software developers and data experts.

ExpandableObjectConverter

Hello,
i am doing a custom class for my property for a property gird using
ExpandableObjectConverter.
I have a class (CustomFontClass) that uses a Converter which inherits
the ExpandableObjectConverter. everything works fine, but the only
thing that doesn't work is that the MyNewFontList NEVER calls the SET.
I have followed the http://www.codeproject.com/KB/vb/usi...pertygrid.aspx
example in the example its the same case .
any idea why ?
thank you
Dim xFont As New CustomFontClass

Public Property MyNewFontList() As CustomFontClass
Get
Return xFont
End Get
Set(ByVal value As CustomFontClass)
xFont = value
End Set
End Property
Jul 24 '08 #1
0 1190

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

Similar topics

0
by: tsteinke | last post by:
Ok here is the problem. I have a struct property on an object that I want to edit with the property grid. One of the properties of the properties of the struct is supposed to be read only to the...
1
by: Pol Bawin | last post by:
Hi, I have a objectA with a property that return an object B (accessor GET only) I have defined an ExpandableObjectConverter on the type B and overrided CanConvertTo, CanConvertFrom, ... The...
0
by: Vladimir.Sakharuk | last post by:
I have created ExpandableObjectConverter in C#. for use in System.Windows.Forms.PropertyGrid. The property grid shows the DiffItem is a object that holds member TheItem. without expanding...
0
by: Adriano Coser | last post by:
Hello. I'm facing the exact problem described here:...
0
by: Adriano Coser | last post by:
Hello. I have an ExpandableObjectConverter subclass that I associate to the 'Converter' of a custom property descriptor. After I changed my .net code to the new syntax (VC 2005), the...
0
by: Marcus Müller | last post by:
Hi, I'm using classes with the ExpandableObjectConverter attibute in a UserControl for properties. This works fine for some classes, and properties of these classes can be edited during design...
0
by: Nebelung | last post by:
Hi! I've written a custom ExpandableObjectConverter in which I have overridden GetPropertiesSupported and GetProperties (and some more). By setting breakpoints in all methods I have found out...
0
by: Nebelung | last post by:
Hi! I've written a custom ExpandableObjectConverter in which I have overridden GetPropertiesSupported and GetProperties (and some more). The class to which this TypeConverter is applied has all...
2
by: =?Utf-8?B?TWFyayBDb2xsYXJk?= | last post by:
I've created a usercontrol with a Person property. The Person property returns a Person object. I've also created a PersonConverter class which inherits the ExpandableObjectConverter so the Person...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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:
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,...

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.