| Article: |
Implementing Custom Data Bindable Classes: CollectionBase | |
| Subject: | Implementing IComponent | |
| Date: | 2003-06-12 08:45:12 | |
| From: | jamesstill | |
|
Someone wrote to me and asked if it were possible to interact with this custom collection at design time. To do it you have to turn the class into a component. It's not as hard as it sounds really. You just have to implement IComponent in addition to CollectionBase:
|
||
Showing messages 1 through 3 of 3.
-
Implementing IComponent
2006-02-08 23:33:06 Linxor [View]
-
Implementing IComponent
2004-04-28 08:19:05 wguerra [View]
Hi, i have been looking for a way on making a collection class bindable at designtime, but i have not had luck.
I already implement in my class IComponent, Site property, but it does not work, i don't what else i have to do in order to get this to work.
If possible, could you write an article or give some link to help me accomplish this.
I would really thank you
-
Implementing IComponent
2003-12-18 11:36:56 anonymous2 [View]
I bet you could use it as a base for a custom control, but you would just have to provide the designer for it, which to me is the most difficult part of developing a custom control.



See the first page of the following tutorial to get the full scoop on creating a class that can be used for data binding inside the Visual Studio designer:
http://www.ftponline.com/vsm/2003_06/online/wagner/