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
370
WebImageButton Transparent with system colours
posted

I have a WebImageButton on the page and I'm setting the BackColour to a system colour but whenever I use any of the Button system colours (ButtonFace, ButtonHighlight, ButtonShadow) the button becomes transparent at runtime??

 The code I'm using is:

WebImageButton.Appearance.Style.BackColor = Color.FromKnownColor(KnownColor.ButtonFace)

Is there anyway that I can turn this off??