Click here to Skip to main content
16,005,178 members
Home / Discussions / C#
   

C#

 
QuestionMemory Leak? Pin
Federico Milano17-Dec-04 3:16
Federico Milano17-Dec-04 3:16 
AnswerRe: Memory Leak? Pin
Javier Lozano17-Dec-04 6:55
Javier Lozano17-Dec-04 6:55 
AnswerRe: Memory Leak? Pin
Daniel Turini17-Dec-04 7:05
Daniel Turini17-Dec-04 7:05 
AnswerRe: Memory Leak? Pin
Heath Stewart17-Dec-04 7:11
protectorHeath Stewart17-Dec-04 7:11 
GeneralRe: Memory Leak? Pin
Federico Milano17-Dec-04 8:42
Federico Milano17-Dec-04 8:42 
GeneralRe: Memory Leak? Pin
Heath Stewart17-Dec-04 9:51
protectorHeath Stewart17-Dec-04 9:51 
GeneralObject instance from propertyDescriptor type Pin
the last free name17-Dec-04 1:47
the last free name17-Dec-04 1:47 
GeneralRe: Object instance from propertyDescriptor type Pin
Heath Stewart17-Dec-04 6:49
protectorHeath Stewart17-Dec-04 6:49 
the last free name wrote:
So far I can identify the PropertyDescriptor for peopleList and it's type of MyCollection...

What exactly do you mean by "I can". Do you mean the code you've written can, you can through the debugger or through Type discovery? Please be specific.

Also, you really only need to implement ITypedList if you need to customize the properties exposed to bindable controls. Controls that implement binding correctly (like those defined in the .NET Framework Class Library) use the BindingManagerBase class for binding, from which CurrencyManager and PropertyManager derive. If you bind your collection of objects correctly (see the DataGridTableStyle.MappingName property for more information and an example) then you get binding for free.

Implementing IBindingList, on the other hand, is a custom feat that really depends on your requirements, but the basic implementation you also get for free. For example, if your collection (or, rather, list) returns true for IList.IsReadOnly then items can't be added and the UI appears appropriately.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralMappingName property Pin
qur17-Dec-04 1:23
qur17-Dec-04 1:23 
GeneralRe: MappingName property Pin
Heath Stewart17-Dec-04 6:39
protectorHeath Stewart17-Dec-04 6:39 
QuestionAn object reference is required for the nonstatic field, method, or property .... why?? Pin
Ponzano Paolo17-Dec-04 1:20
Ponzano Paolo17-Dec-04 1:20 
AnswerRe: An object reference is required for the nonstatic field, method, or property .... why?? Pin
Stefan Troschuetz17-Dec-04 1:46
Stefan Troschuetz17-Dec-04 1:46 
GeneralRe: An object reference is required for the nonstatic field, method, or property .... why?? Pin
Paolo Ponzano17-Dec-04 3:08
Paolo Ponzano17-Dec-04 3:08 
GeneralRe: An object reference is required for the nonstatic field, method, or property .... why?? Pin
J4amieC17-Dec-04 4:03
J4amieC17-Dec-04 4:03 
GeneralRe: An object reference is required for the nonstatic field, method, or property .... why?? Pin
Dave Kreskowiak17-Dec-04 8:27
mveDave Kreskowiak17-Dec-04 8:27 
GeneralDateTime Picker Pin
webhay17-Dec-04 0:58
webhay17-Dec-04 0:58 
GeneralRe: DateTime Picker Pin
Heath Stewart17-Dec-04 1:11
protectorHeath Stewart17-Dec-04 1:11 
GeneralPlacing a AxWebBrowser inside a TabPage Pin
Alberto Bencivenni16-Dec-04 22:48
Alberto Bencivenni16-Dec-04 22:48 
Generalbluetooth Pin
Mridang Agarwalla16-Dec-04 22:06
Mridang Agarwalla16-Dec-04 22:06 
GeneralInterfaces...duhhh! Pin
Mridang Agarwalla16-Dec-04 21:52
Mridang Agarwalla16-Dec-04 21:52 
GeneralRe: Interfaces...duhhh! Pin
Heath Stewart16-Dec-04 23:29
protectorHeath Stewart16-Dec-04 23:29 
GeneralRe: Interfaces...duhhh! Pin
Skynyrd16-Dec-04 23:30
Skynyrd16-Dec-04 23:30 
GeneralRe: Interfaces...duhhh! Pin
Heath Stewart17-Dec-04 0:16
protectorHeath Stewart17-Dec-04 0:16 
GeneralRe: Interfaces...duhhh! Pin
Stefan Troschuetz16-Dec-04 23:39
Stefan Troschuetz16-Dec-04 23:39 
GeneralRe: Interfaces...duhhh! Pin
Sebastian Schneider17-Dec-04 0:09
Sebastian Schneider17-Dec-04 0:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.