Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
Bind to UltraToolTip
posted

WinForms, NetAdvantage 10.1

I have built a custom control with an UltraFormattedTextEditor and an UltraToolTipManager. The UltraToolTipManager provides the UltraToolTip property on the UltraFormattedTextEditor. If I go into DataBinding, I see that the UltraToolTip is a bindable property (it's in the list). In the object that I'm binding to, I've created a property with type UltraToolTipInfo. When I try to bind the UltraToolTip property of the UltraFormattedTextEditor control to the UltraToolTipInfo property of the object, when I run the code I get 'cannot bind to property blah blah blah'.  So, how do I bind to the UltraToolTip property? If it is not bindable, then why does it show up in the list for binding?

Parents
No Data
Reply
  • 69832
    Offline posted

    I'm guessing that extender properties (properties exposed via the component's IExtendedProvider implementation) are by default bindable, in which case the fact that we didn't decorate the extended property with the Bindable attribute to prevent this is a minor bug. Suffice to say you cannot bind the UltraToolTip property because it returns an object, not a native type like string or integer.

Children