Panel Opacity
-
How can set the opacity of the Panel?
Thanks & Regards, Pramod "Everyone is a genius at least once a year"
There is no such direct property for Panel control to handle its opacity. Although you may set its back color to Transparent, it will allow you to make Panel control transparent. Such as – Me.Panel1.BackColor = Color.Transparent I hope this helps:). -Dave.
Dave Traister, ComponentOne LLC. www.componentone.com
-
How can set the opacity of the Panel?
Thanks & Regards, Pramod "Everyone is a genius at least once a year"
Hello, Example for Transparency: If you have inherited a panel from System.Windows.Forms.Panel, you could try out adding this code.
protected override CreateParams CreateParams { get { CreateParams cp = base.CreateParams; cp.ExStyle |= 0x20; return cp; } } protected override void OnPaintBackground(PaintEventArgs e) {}
Maybe it fits your needs! It doesn't support DoubleBuffer.All the best, Martin