How to notify a data bound control that the property collection has changed when implemeting ITypedList

[Winforms - VB]

Hello

I have a class that implements ITypedList in order to have this class to get "dynamic properties". Imagine that an instance of this class is databound to a grid control, in order to get this grid to show as many columns as dynamic properties are. I would like to know that if a property is added (or removed), then how do I notify the grid so that it refreshes its own column collection?

Thanks a lot.


April 23rd, 2015 5:15pm

Hello EMoscosoCam,

From your description, it seems that you want to achieve a UI refresh result, however, it is not clear what project you are developing, if it is a window form project, you could ask it here:

https://social.msdn.microsoft.com/Forums/windows/en-US/home

If a WPF applicaiton, please ask it here:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf

If a web applicaiton, the asp.net forum is more proper:

http://forums.asp.net/

The current forum is for .NET class libraries.

Regards.

Free Windows Admin Tool Kit Click here and download it now
April 24th, 2015 7:33am

Thanks for your reply. I apologize for having been clearer before, I modified my original post accordingly. 

I would appreciate if you could move my post.

April 24th, 2015 12:41pm

Hello EMoscosoCam,

It seems that you already posted a related issue:https://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/cbe0de84-6996-4a56-b636-41ffa0c5ee6f/#48fe29ee-7e23-43cf-8d63-daef902e680e, it is recommended to keep on focusing on it.


Free Windows Admin Tool Kit Click here and download it now
April 25th, 2015 4:31am

Hello EMoscosoCam,

It is not clear which forum(VB/window form) is better for this issue, i move it to the where the forum forum there forum experts will help you.

Regards.

April 26th, 2015 1:48am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics