Collection Class IBindingList Members

vbArch

Member
Joined
Apr 11, 2005
Messages
11
Programming Experience
10+
I have a custom collection class that is implementing IBindingList so that I can bind the collection to a grid. Everything is working fine with this. However my singleton class inherits a state management utility class that maintains whether the object is new, dirty ect. When I bind my collection class to the grid these properties display and I really don't want them to.

The utility class properties are scoped as Public because they reside in another dll. I have tried protected, and friend, neither works correctly.

I have tried setting attributes on the properties
<ListBindable(
False)>
and
<Bindable(False)>
neither one has the desired affect.

I have on MSDN for any clue as to hide a list object from Ibinding list.

This should be simple but the answer escapes me.

Any help would be greatly appreciated, pulling my hair out at a frantic rate.



 

vbArch

Member
Joined
Apr 11, 2005
Messages
11
Programming Experience
10+
Show in Order

would u by chance know how to set the order of the columns that ibinding list displays? This is the 10 pt bonus question
 
Top Bottom