Telerik Forums RSShttps://www.telerik.com/urn:uuid:56eea00a-88a7-4720-83b0-5c7bcde53db5https://www.telerik.com/forums/permalink/CqDuVqeIIEeDsFx7zeU9tQRemove Background gradient from the StartButtonImageHi Afraei,<br />
<span style="line-height: 1.4;"><br />
Thank you for writing.<br />
<br />
You can put this code anywhere after the actual RadRibbonBar is created or initialized. If the ribbon is added through VS designer to a form you can execute these lines anywhere after the form IitializeComponents call in the constructor. If you add the ribbon through code you can execute this code after you create an instance of RadRibbonBar.<br />
<br />
I hope this is useful. Feel free to write back with any further questions.<br />
</span><br />
Regards,<br />
Ivan Petrov <br />
the Telerik team
<div class="forumBaloonTop"></div>
<div class="forumBaloon">Q3'12 SP1 of RadControls for WinForms is out now. <a href="http://blogs.telerik.com/winformsteam/posts/12-12-15/see-what's-new-in-radcontrols-for-winforms-q3-2012-sp1" target="_blank"><span style="color: #005fb9;">See what's new</span>.</a>
</div>
<div class="forumBaloonBottom"></div>urn:uuid:5fbd30bd-842e-4ffd-b44a-1f22878db8d2https://www.telerik.com/forums/permalink/vTC9Xy6E_U-0Sh8ih4240gRemove Background gradient from the StartButtonImageThank you for your help.<br>
<br>
Where and in which file should I put those two lines of codes?<br>
<br>
Regardsurn:uuid:a0c2173f-3c27-4a9e-a438-012d538282a3https://www.telerik.com/forums/permalink/PxfCoCc8nkqkOAEtU4KCowRemove Background gradient from the StartButtonImageHello Darko,
<p>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.</p>
Greetings,<br />
Nikolay <br />
the Telerik team
<div class="forumBaloonTop"></div>
<div class="forumBaloon">
<p style="margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0in;">
<strong>Q2&rsquo;11 SP1</strong> of RadControls for WinForms is available for <a href="http://www.telerik.com/account/free-trials/trial-product-versions/single-trial.aspx?pmvid=0&amp;pid=523" title="WinForms Trial Download ">download</a> (see <a href="http://www.telerik.com/products/winforms/whats-new.aspx" title="RadControls for WinForms What's New">what's new</a>); also available is the Q3'11 <a href="http://www.telerik.com/products/winforms/whats-new/roadmap.aspx" title="RadControls for WinForms Roadmap">Roadmap</a> for Telerik Windows Forms controls.</p>
</div>
<div class="forumBaloonBottom"></div>urn:uuid:a4dbfddc-ec03-4a10-a115-90dc08c26168https://www.telerik.com/forums/permalink/3P3bpAPsEEqhFZDcCMJhaARemove Background gradient from the StartButtonImagethanks a lot.<br />
exactly what i was looking for.<br />
just edit the first code line and complete the word Hidden.<br />
<br />
best regards,<br />
Darkourn:uuid:b0815f51-454c-49fe-9fa1-f9caae253287https://www.telerik.com/forums/permalink/UV-BsExF_kmfofnKriUyhwRemove Background gradient from the StartButtonImageHello Darko,
<p>Thank you for writing and for the attached screen shot.<br />
<br />
You can hide the button fill and border by using the following two lines of code:</p>
<div class="tFormatCodeBlock supportThreadCodeBlock" style="border:1px solid #7f9db9;overflow-y: auto;" id="highlighter_7865">
<div style="background-color: #ffffff;"><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">this</code><code style="color: #000000;">.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.ActionButton.ButtonFillElement.Visibility = ElementVisibility.Hidden;</code></span></div>
<div style="background-color: #f8f8f8;"><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">this</code><code style="color: #000000;">.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.ActionButton.BorderElement.Visibility = ElementVisibility.Hidden;</code></span></div>
</div>
<br />
I hope this will help you. If you have other questions, feel free to write back.
Greetings,<br />
Ivan Petrov <br />
the Telerik team
<div class="forumBaloonTop"></div>
<div class="forumBaloon">
<p style="margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0in;">
<strong>Q2&rsquo;11 SP1</strong> of RadControls for WinForms is available for <a href="http://www.telerik.com/account/free-trials/trial-product-versions/single-trial.aspx?pmvid=0&amp;pid=523" title="WinForms Trial Download ">download</a> (see <a href="http://www.telerik.com/products/winforms/whats-new.aspx" title="RadControls for WinForms What's New">what's new</a>); also available is the Q3'11 <a href="http://www.telerik.com/products/winforms/whats-new/roadmap.aspx" title="RadControls for WinForms Roadmap">Roadmap</a> for Telerik Windows Forms controls.</p>
</div>
<div class="forumBaloonBottom"></div>urn:uuid:086cab7b-e046-4a95-a820-fe3f5821db0fhttps://www.telerik.com/forums/permalink/e6tsCEbglUqoIP4_WCHbDwRemove Background gradient from the StartButtonImageHi,<br />
<br />
I attached an image of the top left corner of my app. I have a round image which i use as StartButtonImage.<br />
However, the background is disturbing me. How can i remove it?<br />
<br />
Best regards,<br />
Darko