473,699 Members | 2,101 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ListChangedEven tArgs.PropertyD escriptor always null

[2.0]

My CustomCollectio n has several events based on ListChanged collection
management, when the ListChanged event is raised the
ListChangedEven tArgs.PropertyD escriptor property is always null.

Any suggest?

Feb 10 '06 #1
1 3708
Hi,

"tomb" <+_***********@ gmail.com> wrote in message
news:43******** **@x-privat.org...
[2.0]

My CustomCollectio n has several events based on ListChanged collection
management, when the ListChanged event is raised the
ListChangedEven tArgs.PropertyD escriptor property is always null.
PropertyDescrip tor only need to be used if ListChangedType d is
PropertyDescrip torAdded, Removed or Changed. If you fire it you're
resposible of setting it. But Custom Collections rarely need it because they
often have a fixed set of properties on the Custom Object.

HTH,
Greetings


Any suggest?

Feb 10 '06 #2

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

Similar topics

3
4040
by: Eric Linders | last post by:
Hello, We have a form that is collecting user input. There are three fields for each phone number (area code, prefix and suffix). I'm trying to use a simple if statement to confirm if the first character in any of the fields is "0". If it is, then I just redirect them to a different page because it's someone that is just messing around. Unfortunately, whenever the form loads, the if statement automatically evaluates to true and the user...
1
323
by: aido | last post by:
Hi all, I have bound a custom list object to a combo box's data source. This object implements the ITypedList interface and returns a PropertyDescriptorCollection to the fields in the list object. The appropriate list field is then selected via the ComboBox's DisplayMember property. Everything works fine up to this point. If however the combo box Visible property is cycled it seems to lose the property descriptor information; the...
0
1293
by: margoulin | last post by:
Hi, how can I get the defautl PropertyDescriptor of a basic type, lets say int ? Thanks, -Marc
1
16014
by: Peter | last post by:
Hi i have a class eg. class Person { public string surname... public string phone.... }
0
4336
by: Alx Sharp | last post by:
Hello group! I've created a collection class that implements ITypedList: class MyCollection : IBindingList, IList, ICollection, IEnumerable, ITypedList { PropertyDescriptorCollection ITypedList.GetItemProperties(PropertyDescriptor listAccessors) { PropertyDescriptorCollection props = new PropertyDescriptorCollection(null);
10
4584
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbaac11/html/acfctNZ_HV05186465.asp "If the value of the variant argument is Null, the Nz function returns the number zero or a zero-length string (always returns a zero-length string when used in a query expression)" **** How many records are there in FirstTable in which Product Is Null. SELECT COUNT(*) AS CountofNullProdcut
3
4074
by: axlq | last post by:
I wrote the function below to get the vertical scroll position of an anchor. That is, a URL of the form http://www.example.com/mypage.html#anchorname should scroll to the point on the page that has an anchor <a name="anchorname">...</a>). Doing this in Javascript is necessary in the presence of a dynamic HTML page having some hidden blocks. DHTML messes up the scroll position in Opera and Mozilla (but not IE) so I'm trying to fix it...
2
8031
by: Marc Gravell | last post by:
::: Question: Does anyone know of a simple Control / UserControl implementation that hosts a UITypeEditor? Or the correct way to call PropertyDescriptor.GetEditor() and get a non-null result for usage in a Form? ::: Background: Basically, I have a highly-dynamic (runtime) bespoke object model, and I want to drop some (runtime-only) properties onto the form. As it happens, the objects implement all the right interfaces for Binding to...
11
7348
by: colin | last post by:
Hi, Ive written a custom PropertyDescriptor wich lets me edit my custom data items in the property editor, however I now wish to expand it so that it can be used to edit nested collections of such data items with the collection editor that comes with the property editor. public class MyClassDescriptor : PropertyDescriptor, ICustomTypeDescriptor
0
8706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8630
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9199
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9055
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5889
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4391
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4638
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2016
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.