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   
Questionimage alpha questionmemberbekiser1 May '13 - 7:23 
SuggestionA few changes needed to get this to work in .Net 4 [modified]memberJonathan_Collins6 Jun '12 - 22:55 
GeneralMy vote of 2memberBrad Barnhill6 Jan '12 - 16:49 
GeneralMy vote of 2mvpDave Kreskowiak8 Apr '10 - 6:37 
QuestionIssue removing control from form(s)memberDavid Minder22 Dec '09 - 5:09 
QuestionOver controls???memberMember 247284813 Oct '09 - 9:53 
Anyone figured out how to get this to show the controls below through it? I have a panel with a bunch of controls on it, and I want to do just like "lightbox" type of idea over top of the controls? Any Ideas?? Thank you!
Generalfrustratingmemberjoe destefano8 May '09 - 11:45 
GeneralRe: frustratingmemberjoe destefano8 May '09 - 11:59 
GeneralRe: frustratingmemberDavid Minder22 Dec '09 - 4:16 
QuestionAdding an AlphaGradientPanel at runtime?memberSMothes29 Sep '08 - 4:38 
AnswerRe: Adding an AlphaGradientPanel at runtime?memberNick Waelti1 Oct '08 - 1:10 
Questiontransparency over controlsmemberFallakka13 Aug '08 - 23:06 
GeneralTransparency problemmemberzuraw13 Mar '08 - 4:06 
GeneralRe: Transparency problemmembercdebel26 Feb '09 - 9:49 
QuestionExceptionmemberBBWicked31 Jul '07 - 23:46 
Generalsorry but :)memberdeltadirac29 Jul '07 - 8:05 
QuestionRemoving a colormemberthe-rpd1 Jul '07 - 5:20 
GeneralNice controlmemberthe-rpd26 Jun '07 - 9:38 
GeneralRe: Nice controlmember(Nick Waelti)28 Jun '07 - 0:11 
GeneralRe: Nice controlmemberthe-rpd28 Jun '07 - 6:40 
GeneralUse in applicationsmemberBryanTKinkel12 Jun '07 - 3:40 
AnswerRe: Use in applicationsmemberNick Waelti12 Jun '07 - 3:55 
GeneralRe: Use in applicationsmemberBryanTKinkel13 Jun '07 - 4:29 
GeneralRe: Use Commercial in applicationsmemberMatt Lowrance26 Sep '07 - 6:39 
GeneralRe: Use Commercial in applicationsmemberNick Waelti26 Sep '07 - 20:19 

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

Permalink | Advertise | Privacy | Mobile
Web01 | 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