We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom ButtonRenderer to ButtonAdv

Thread ID:





58458 Mar 23,2007 07:28 PM UTC Mar 27,2007 05:07 PM UTC WinForms 1
Tags: Tools
Administrator [Syncfusion]
Asked On March 23, 2007 07:28 PM UTC

Is there any way I can have my own buttonrenderer
for buttonadv. Right now renderer changes as per the appearance enum. In general what I want to do is..I want to have my own color for mouse hover rather than having a predefined color.

Poly J [Syncfusion]
Replied On March 27, 2007 05:07 PM UTC


Thanks for your interest in Syncfusion Products.
If you are using ButtonAdv control in .net framework 2.0 you can set the MouseOver BackColor using the following code snippet.
this.buttonAdv1.FlatAppearance.MouseOverBackColor = Color.AliceBlue;
this.buttonAdv1.FlatAppearance.MouseDownBackColor = Color.HotPink;

Before that you should change the Button FlatStyle property to Flat and disable visual style.
Please refer to the attached sample and let me know if this is helpful for you.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon