Click here to Skip to main content
13,344,765 members (61,532 online)
Click here to Skip to main content
Add your own
alternative version


22 bookmarked
Posted 3 Feb 2007

Panel with blend and bordercolors

, 12 Feb 2007
Rate this:
Please Sign up or sign in to vote.
Panel with blend and bordercolors
Sample image


This class inherits the System.Windows.Forms.Panel. The AlteaPanel adds blend functionality and the possibility to choose the bordercolors. To view the custom bordercolors, you must set the BorderStyle enumeration to None, so the existing FixedSingle and Fixed3D can still be used.

The Borders will be drawn in the Overrides Sub OnPaint, and the Blending background in the Protected Overrides Sub PaintBackground.

It is a quite straightforward code, easy to read and to use. The next step will be adding text, so you can use it as a heading, eg Outlook. So if anyone has any suggestions to make this AlteaPanel better, please tell me!


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


About the Author

Star Vega
Software Developer
Belgium Belgium
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralError when set Anchor or Dock Pin
qhoangpro11-Feb-07 21:33
memberqhoangpro11-Feb-07 21:33 
AnswerRe: Error when set Anchor or Dock Pin
Jan Geerinckx12-Feb-07 8:09
memberJan Geerinckx12-Feb-07 8:09 

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.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.180111.1 | Last Updated 12 Feb 2007
Article Copyright 2007 by Star Vega
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid