Hello Kris,
Thanks for your posting on MSDN forum.
I assume that you mean the RectangleShape in Visual Basic Power pack. Please correct me if there is any misunderstanding.
From a Windows Forms perspective, “Data Binding�is a general mechanism to bind data to a user interface element (Control). However, RectangleShape is drivered from Component and we cannot bind data source to an Component, thus there is no DataBindings option on the Properties Windows for an RectangleShape component. To make the RectangleShape bindable, we can create a new class that derived from RectangleShape class and implement the IBindableComponent interface. For example,
http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/0b8cba1e-f7ce-4ab0-a45b-2093dc38afc8 Thanks,
Rong-Chun Zhang
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact
msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.