Set Background image for Toolstrip

2 posts, 0 answers
  1. Alcatraz
    Alcatraz avatar
    15 posts
    Member since:
    Mar 2010

    Posted 28 May 2010 Link to this post


    How to set the background image for the toolstrip?  I couldnt find any such property.

  2. Martin Vasilev
    Martin Vasilev avatar
    1061 posts

    Posted 02 Jun 2010 Link to this post

    Hi Alcatraz,

    Thank you for writing.

    Actually, RadToolStrip does not support adding a background image. However, you can manually extend the default behavior by adding an ImagePrimitive to its elements. Please consider the following code snippet:
    ImagePrimitive imagePrimitive = new ImagePrimitive();
    imagePrimitive.Image = global::Test_RadToolStrip.Properties.Resources.my_background_image;                    

    You have to keep in mind that there is a limitation on this implementation: RadToolStrip's layout does not allow for stretching the image in the added ImagePrimitive element.

    Let me know if you have any additional questions.

    Kind regards,
    Martin Vasilev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft R3 2016 release webinar banner
Back to Top