Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Ribbonbar > Remove Background gradient from the StartButtonImage

Answered Remove Background gradient from the StartButtonImage

Feed from this thread
  • Posted on Nov 2, 2011 (permalink)

    Hi,

    I attached an image of the top left corner of my app. I have a round image which i use as StartButtonImage.
    However, the background is disturbing me. How can i remove it?

    Best regards,
    Darko
    Attached files

    Reply

  • Answer Ivan Petrov Ivan Petrov admin's avatar

    Posted on Nov 7, 2011 (permalink)

    Hello Darko,

    Thank you for writing and for the attached screen shot.

    You can hide the button fill and border by using the following two lines of code:

    this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.ActionButton.ButtonFillElement.Visibility = ElementVisibility.Hidden;
    this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.ActionButton.BorderElement.Visibility = ElementVisibility.Hidden;

    I hope this will help you. If you have other questions, feel free to write back. Greetings,
    Ivan Petrov
    the Telerik team

    Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

    Reply

  • Posted on Nov 7, 2011 (permalink)

    thanks a lot.
    exactly what i was looking for.
    just edit the first code line and complete the word Hidden.

    best regards,
    Darko

    Reply

  • Nikolay Nikolay admin's avatar

    Posted on Nov 7, 2011 (permalink)

    Hello Darko,

    We are glad to hear that you have found the answer of my colleague Ivan helpful. I have corrected the misspelled word "Hidden" in the code snippet. Thank you for pointing this out.

    Greetings,
    Nikolay
    the Telerik team

    Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Ribbonbar > Remove Background gradient from the StartButtonImage
Related resources for "Remove Background gradient from the StartButtonImage"

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