Bind Data to Tooltip

Bind Data to Tooltip

Post by Jg Boekhof » Wed, 15 Mar 2006 22:15:03


Hello,
how can I create a DataBinding that sets a property of a control extension
like Tooltip?
E.g. I have a Form with a Button and a Tooltip on it. How can I set the
tooltip for the button via DataBinding?

Jg
 
 
 

Bind Data to Tooltip

Post by jeta » Thu, 16 Mar 2006 12:03:34

Hi jboekhoff,

Thanks for your post!

The current question is why you want to do databinding with button and
ToolTip? .Net winform databinding is used to keep the synchronization
between .Net datasource and Winform GUI controls, it is not used to
associate 2 Winform controls together.

I look forward to hearing from you. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

 
 
 

Bind Data to Tooltip

Post by Jg Boekhof » Fri, 17 Mar 2006 19:14:59

Well it only was an example. I would like to create an own control extension
(like Tooltip). A Component that will extend each control on a form with
several properties. I would like to bind some of these properties to a data
source. My idea was, if I would know how to bind data to the tooltip of a
certain control, I could use the same mechanism to bind data to my own
extended properties.

With kind regards,
Jg