Click here to Skip to main content
11,921,898 members (69,494 online)
Click here to Skip to main content
Add your own
alternative version


49 bookmarked

A Reflective and Translucent Glass Panel

, 1 Oct 2008 CPOL
Rate this:
Please Sign up or sign in to vote.
Component derived from Panel that acts like a window (glass)


This component is the logical suite of the AlphaGradientPanel published here on CodeProject. It replaces the original System.Windows.Form.Panel by a nifty glassy one.


No idea, I wanted to have glass.

Using the Code

The panel has three main properties. 

  • The glass color (GlassColor) which defines the base tint of the glass panel.
  • The glass opacity (Opacity) which defines the opacity of the panel.
  • Whether the mouse cursor is reflected on the panel (MouseReflection).

It is mainly used like any other panel would be used.

Points of Interest

It's far from perfect and you are to have a good graphic card to use it, but the effect is kind of cool.


  • v. 1.0 - October 2008


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Nicolas Wälti
Software Developer (Senior)
Switzerland Switzerland
No Biography provided

You may also be interested in...

Comments and Discussions

QuestionWindows 10 & Framework 4.6 Pin
Member 118830773-Nov-15 10:53
memberMember 118830773-Nov-15 10:53 
GeneralGood But Not Working with other controls see details Pin
stelios198422-May-13 22:42
memberstelios198422-May-13 22:42 
Questioncompact framework compatibility Pin
moosavi9124-Jun-12 5:46
membermoosavi9124-Jun-12 5:46 
QuestionNot work in Windows 7 Pin
Member 439692024-Apr-12 19:53
memberMember 439692024-Apr-12 19:53 
QuestionCan you please provide a c# version ? Pin
Failed Noob2-Oct-11 5:47
memberFailed Noob2-Oct-11 5:47 
QuestionTransparency Problems Pin
Ibsy31-Dec-10 3:32
memberIbsy31-Dec-10 3:32 
GeneralNice atricle Pin
Chona117130-Sep-10 22:24
memberChona117130-Sep-10 22:24 
GeneralRe: Nice atricle Pin
(Nick Waelti)11-Oct-10 21:16
member(Nick Waelti)11-Oct-10 21:16 
GeneralRe: Nice atricle Pin
Chona117111-Oct-10 22:00
memberChona117111-Oct-10 22:00 
GeneralRe: Nice atricle Pin
Failed Noob2-Oct-11 6:02
memberFailed Noob2-Oct-11 6:02 
GeneralImplementing the control Pin
SushilKumar178323-Nov-09 0:33
memberSushilKumar178323-Nov-09 0:33 
GeneralGood job Pin
flowermix1-May-09 22:48
memberflowermix1-May-09 22:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.151120.1 | Last Updated 1 Oct 2008
Article Copyright 2008 by Nicolas Wälti
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid