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
3166
Transparent Background for ButtonUIElement on UltraExpandableGroupBox
posted
Hi,

I am implementing a Creation Filter for UltraExpandableGroupBox. I am adding a ButtonUIElement to GroupHeader area. For the appearance of the button I setting the following properties.

_lockAppearance.ImageBackground = Properties.Resources.Lock16.ToBitmap();
_lockAppearance.BackColor = Color.Transparent;

And when creating the element I am constructing it with GroupBoxHeaderUIElement as the parent.

aButtonUIElement = new ButtonUIElement(parent);

It renders the image however it does not draw the background as transparent. Instaed it draws the control default background colour.
  • 135
    posted

    Hi,

     Could U please tell me how to proceed on this.I need to add a button/label on my ultragroup box header.

     Could u help me on how to proceed.

     

    Thanks