dennismagno / metroframework-modern-ui

My humble attempt to bring the new Modern UI alias Metro UI of Windows 8 to .NET Windows Forms applications.
http://dennismagno.github.io/metroframework-modern-ui
Other
861 stars 1.08k forks source link

Transparent/see-through panel with Light theme #24

Closed Aeroxander closed 7 years ago

Aeroxander commented 7 years ago

I'm able to create a see-through application, but only with the dark theme.

I've set the TransparencyKey on Transparent, the theme on Dark and the panel BackColor on Transparent.

When I set the theme on Light, most of the application goes transparent and I can't click/move it.

Is there an sophisticated solution for using the light theme?

Right now it looks like this zknnjp

dennismagno commented 7 years ago

I have tried it onlight and seems working well. Maybe because of the color that you selected for transparency key. I used RGB 224, 224, 224 sample-light

Aeroxander commented 7 years ago

Ah nice! I was able to have the transparent panel without that grey filter, hope I can have that on the light theme to, then it'd be perfect

Aeroxander commented 7 years ago

Only problem right now is that with a flat shadow like you have, that the transparent panel is grey-ish, without a shadow it's gone but I'd like to have a shadow to have contrast on a white surface. Any solution for this?

Aeroxander commented 7 years ago

So I just removed the shadow and used FixedSingle as BorderStyle, looking good!