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. Image for the cookie policy date

Custom ButtonRenderer to ButtonAdv

Hi,
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.

1 Reply

PJ Poly J Syncfusion Team March 27, 2007 05:07 PM UTC

Hi,

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.
F58458_Sample

Best Regards,
Poly

Loader.
Live Chat Icon For mobile
Up arrow icon