Click here to Skip to main content
Click here to Skip to main content

AlphaGradientPanel, an extended panel

By , 24 Mar 2006
 

Introduction

This is a panel, first of all. Therefore, it has all the advantages of a panel, plus some nice little features.

Using the code

You'll just have to include the component in your toolbox and use it.

The only property that is a bit special is the Colors() property. It is a collection of items and has design-time visibility in the property grid. I'm still trying to achieve transforming the color name that appears in the property grid in a nice drawing... If anybody knows how that can be achieved, please, please, please, let me know ;)

Features

  • Rounded corners (any one of them or all at the same time).
  • Gradients (from 2 to n colors, with some special effects).
  • Transparency (any color can be made transparent with an "Alpha" value between 0 and 255).
  • Borders, even with rounded corners, have a nice little border.
  • Image inclusion (position, opacity, size, grayscale, and padding).
  • Padding of the content, of the back, and of the docking.

History

  • Version 1.0.

License

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
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralPanel behind not visiblememberJonnyNordin9 Jun '07 - 2:17 
Questionmodify color( ) with code ?memberHqrts30 May '07 - 0:56 
GeneralTra sparencymemberspaceboy17 May '07 - 4:55 
QuestionPanel Bugs [modified]membertricos26 Mar '07 - 8:44 
GeneralProblem when copying controlmembermraviator26 Feb '07 - 11:06 
AnswerRe: Form appearancememberNick Wälti26 Sep '06 - 3:06 
QuestionAlpha Gradient Panel ?memberZaegra9 Aug '06 - 2:23 
QuestionCan I plead ignorance? Please!?memberHankFrid7 Aug '06 - 12:08 
AnswerRe: Can I plead ignorance? Please!?memberNick Wälti7 Aug '06 - 22:05 
QuestionRe: Can I plead ignorance? Please!?member852y3agnna6 Jan '07 - 15:37 
GeneralBeautifully DonememberJoshua Boyle4 Aug '06 - 9:29 
QuestionNot a Microsoft.NET Module?membervaderjm3 Aug '06 - 16:26 
AnswerRe: Not a Microsoft.NET Module?memberNick Wälti3 Aug '06 - 21:32 
GeneralRe: Not a Microsoft.NET Module?membervaderjm5 Aug '06 - 5:23 
GeneralRe: Not a Microsoft.NET Module?membervaderjm5 Aug '06 - 5:52 
GeneralSmall problemmemberDanilo Corallo6 Jul '06 - 12:46 
AnswerRe: Small problemmemberNick Wälti29 Jul '06 - 6:33 
GeneralCan't load in VB ExpressmemberApopka_Pilot25 May '06 - 10:43 
GeneralRe: Can't load in VB Expressmemberseanwright5 Jul '06 - 5:05 
QuestionUsage Requirementsmemberrdesigner19 May '06 - 10:44 
AnswerRe: Usage RequirementsmemberNick Wälti20 May '06 - 4:37 
QuestionHelpmemberj.channon16 May '06 - 23:56 
GeneralDude, this is tight!memberserialc0d310 May '06 - 3:26 
GeneralRe: Dude, this is tight!memberNick Wälti10 May '06 - 3:31 
GeneralThanks :)memberblroy521127 Apr '06 - 3:40 

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

Permalink | Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 24 Mar 2006
Article Copyright 2006 by Nicolas Wälti
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid