Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
Ultrabutton transparent button so only image colour shows
posted

Hi

I have two buttons on a form as per the below:

is it possible to make the gray parts of the button transparent? Or can I make it same colour as the form? I have tried a few properties but not getting much luck. 

My alternative option is to use an image control which i am sure will be fine but would prefer button control if possible.

Thanks

Paul

Parents
No Data
Reply
  • 34810
    Verified Answer
    Offline posted

    Hello Paul,

    I have been investigating into the behavior you are looking to achieve with the appearance of the UltraButton, and I would recommend that you take a look at the attached sample project where I have created an UltraButton that only shows the Image assigned to its Appearance.ImageBackground property.

    The main things to take away from the sample project are in the code-behind of Form1, and that the ButtonStyle is set to FlatBorderless and the UseOsThemes property is set to false.

    I hope this helps you. Please let me know if you have any other questions or concerns on this matter.

    TransparentButtonTest.zip

Children