Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Toolstrip (obsolete as of Q3 2010) > Set Background image for Toolstrip

Not answered Set Background image for Toolstrip

Feed from this thread
  • Alcatraz avatar

    Posted on May 28, 2010 (permalink)

    Hi,

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

    Thanks
    Kris

    Reply

  • Martin Vasilev Martin Vasilev admin's avatar

    Posted on Jun 2, 2010 (permalink)

    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;                    
    this.radToolStrip1.ToolStripManager.Children[0].Children.Add(imagePrimitive);

    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Toolstrip (obsolete as of Q3 2010) > Set Background image for Toolstrip
Related resources for "Set Background image for Toolstrip"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]