Toolstrip label

Posted by Freddy Boisseau on 11-Nov-2008 16:35

I am using the MS Toolstrip control and would like to add a label that is bound to a datasource. Is this possible? And if so how is it done?

All Replies

Posted by Admin on 12-Nov-2008 00:53

I do not believe it's possible.

DataBinding is defined in System.Windows.Forms.Control. The Toolstrip items (System.Windows.Forms.ToolStripItem) are no controls theirselves. They inherit from the Component.

So you need to code that manually (using the PositionChanged event handler etc., using the InputValue, ...).

This thread is closed