Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Good day all!!!

I am using ButtonRenderer to create a button.

C#
ButtonRenderer.DrawButton(Graphics, ButtonBounds, ButtonImage, ImageBounds, false, ButtonState);


My question is how do I make:

01. The button borderless;
02. Make the button color transparent.

Thanx in advance for you help.
Posted

1 solution

For borderless button and with image, you may want to check the article below

Custom Button Control with Gradient Colors and Extra Image (VB.NET)[^]

For transparent button, the following links may help:

Transparent Buttons in .NET[^]
http://stackoverflow.com/questions/1086621/drawing-a-transparent-button-in-c-sharp-winforms[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900