I cannot be certain of this, however you may want to look at the IExtenderProvider interface. It has one method, bool CanExtend(object), that indicates whether your object applies to other objects. This may have to be coupled with the ProvidePropertyAttribute.
I haven't done what you are attempting to do, but I have looked at the extender provider sample and it seems to be closely related to what you are attempting to do. Good luck, Seang -----Original Message----- From: Ted Osberg [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 12:21 PM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] User control databindings Here's the skinny: I am making a user control that I want other controls (textbox, combobox, etc...) to be able to bind to. When I add the user control to a form and go to the (Databindings) property, I cannot see my user control. However, I can see the datasets and dataviews I also have on the form. How can I get a control to see my control so it can be bound to it? You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.