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
1105
Is it possible to display tooltip on a ultralabel when trimmed
posted

Hi,

does someone know if there is a possibility to display a tooltip (showing the complete text) on a ultralabel if the label text is trimmed.

 

Thanks

Stefan

Parents
No Data
Reply
  • 5118
    posted

    Hi Stefan,

    Sorry for the delay in responding to your inquiry.  You can use an UltraTooltipManager to show the full text of the UltraLabel. 

    Add an UltraTooltipManager to your form.  In code set the tooltip text for the UltraLabel as follows:

    this.ultraToolTipManager1.SetUltraToolTip(this.ultraLabel1,
     new Infragistics.Win.UltraWinToolTip.UltraToolTipInfo(this.ultraLabel1.Text,
      Infragistics.Win.ToolTipImage.Default,
      "Full UltraLabel Text Title",
      Infragistics.Win.DefaultableBoolean.True)
    );

    You might also want to set the UltraTooltips.AutoPopDelay to a larger value if the text is long so the user has an opportunity to read it but not too long that it lingers unnecessarily.

Children
No Data