Completed
Last Updated: 21 Nov 2014 12:51 by ADMIN
ADMIN
Stefan
Created on: 19 Nov 2014 08:51
Category: Editors
Type: Bug Report
0
FIX. RadAutoCompleteBox - setting ToolTipText for TokenizedTextBlockElement in TextBlockFormatting or ToolTipTextNeeded (this is not fired for the particular element) does not apply tooltip to the el
The ToolTipTextNeeded is never fired for this element, and setting the ToolTipText for TokenizedTextBlockElement in TextBlockFormatting does not apply a tooltip for the element.

Workaround - set the ShouldHandleMouseInput to true:

  void radAutoCompleteBox1_TextBlockFormatting(object sender, TextBlockFormattingEventArgs e)
        {
            TokenizedTextBlockElement token = e.TextBlock as TokenizedTextBlockElement;
            if (token != null)
            {
                token.ToolTipText = "Testing Tooltip";
                token.ShouldHandleMouseInput = true;
            }
        }
0 comments