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
5250
UltraLabel with Opacity
posted

Hi all

I am using Infragistics 13.2 on Framework 4

I need to add opacity for a UltraLabel.
Does anybody knows how to do this ?
The goal would be to show the UltraLabel over some form controls.
The underneath contols should be a little visible and on the UltraLabel
there will be some text computed.

Thanks a lot for any help !

Best regards
Frank Uray

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Frank,

    Opacity means that you can't see through the control. What you want is transparency. But I don't think this will work, unless the controls you want to show through the label are containers.

    The way Transparency works in DotNet is that the control will ask it's parent (container) control to draw into itself and then it draws on top of that. So if you have an UltraLabel inside a panel, and you want to see the panel through the UltraLabel, you can just set the BackColor of the UltraLabel to a color with an alpha channel so it's semi transparent.

    But if you want to have an UltraLabel and some other control which the UltraLabel just overlaps and is not truly contained within, it will not work.

Children