SelectionMiniToolBar, Icons missing

3 posts, 1 answers
  1. Markus
    Markus avatar
    7 posts
    Member since:
    Jun 2012

    Posted 01 Mar 2013 Link to this post

    We're using build 2013.1.255.1050 of the RichTextBox control within a Lightswitch project.
    All references are set accordingly.

    When a text is selected the SelectionMiniToolBar gets displayed but respective icons are missing. When we additionally include a RadRichTextBoxRibbonUI then everything works fine.

    Any ideas how to resolve it?


  2. Answer
    Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 01 Mar 2013 Link to this post

    Hi Markus,

    We have observed this issue only in Lightswitch projects - the images are shown only if they are added to the visual tree on start-up. The problem does not occur when there is a RibbonUI, because the ribbon includes the images in XAML.

    The workaround we can suggest to you for now is to declare the images in XAML. This means, you should have a line like this for all images which are used in the SelectionMiniToolBar and the ContextMenu in your .xaml file:

    <Image Source="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/bold.png" Stretch="None"/>

    The images can be collapsed or with Height/Width set to 0.

    Here is the list of the used images in theSelectionMiniToolBar and the ContextMenu (please note, you should add in the beginning the  "/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16" string, as a part of the path to the following resources):


    • font-increasesize.png
    • font-decreasesize.png
    • outdent.png
    • indent.png
    • bold.png
    • italic.png
    • underline.png
    • aligncenter.png
    • highlight.png
    • FontForeColor.png
    • list-bullets.png
    • list-numbered.png


    • cut.png
    • copy.png
    • paste.png
    • inserthyperlink.png
    • FontProperties.png
    • ParagraphProperties.png

    I hope this helps.

    All the best,
    Iva Toteva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Markus
    Markus avatar
    7 posts
    Member since:
    Jun 2012

    Posted 01 Mar 2013 Link to this post

    that solved the issue.
    Thx a lot
Back to Top