Click here to Skip to main content
13,297,799 members (46,370 online)
Click here to Skip to main content
Add your own
alternative version


78 bookmarked
Posted 9 Dec 2003

Enhanced XP Button

, 9 Dec 2003
Rate this:
Please Sign up or sign in to vote.
Enhanced XP Button


The enhanced XP style button is very easy to use and it supports Rectangle, Circle or Ellipse shape with image and different colors. This control also inherits most of the properties from Forms.Button.

This control is created based on Joaqs’s XP button in his Windows XP-like Controls. I add the properties BtnStyle, BtnShape and made the properties Image and ImageAlign work for this control. The reason that I selected Joaqs’s XP button to work is that the button inherited from Forms.Button and it has the basic XP button functions. So I got the authorization from the Joaqs to add some more features and post it for the people who like it.



  1. Add the control to the Toolbox.
  2. Drop the control to the WinForm.
  3. Select the properties:
    • BtnStyle : Default, Blue, Olivegreen, Silver for different looks
    • BtnShape: Rectangle and Ellipse (if you set the size of the button as a square you get a circle button)
    • Image: load the image for the button.
    • ImageAlign: to set the layout of the image. (only supports MiddleLeft, MiddleRight, TopCenter and Center)

You can still adjust the image location by changing the property value of the of AdjustImageLocation to move the image around until you are satisfied.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Member 572469
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

QuestionCan't dowmload Pin
面朝大海23-Apr-14 5:16
professional面朝大海23-Apr-14 5:16 
GeneralImage problem Pin
hkrnic9-Jul-06 2:00
memberhkrnic9-Jul-06 2:00 
QuestionQuick Question? Pin
VectorX20-Nov-05 15:31
memberVectorX20-Nov-05 15:31 
GeneralCan't download source code Pin
gp_mk3-Jan-05 23:10
membergp_mk3-Jan-05 23:10 
QuestionHow to use it? Pin
Weiye Chen19-Feb-04 18:07
memberWeiye Chen19-Feb-04 18:07 
AnswerRe: How to use it? Pin
Weiye Chen19-Feb-04 21:59
memberWeiye Chen19-Feb-04 21:59 
GeneralResource Issue Pin
draellix19-Jan-04 6:39
memberdraellix19-Jan-04 6:39 
GeneralBuild Errors Pin
mikeperetz17-Dec-03 13:30
membermikeperetz17-Dec-03 13:30 
Generalbuild Errors Pin
csadler15-Dec-03 4:48
membercsadler15-Dec-03 4:48 
GeneralRe: build Errors Pin
fuzzylintman15-Dec-03 5:26
memberfuzzylintman15-Dec-03 5:26 
GeneralRe: build Errors Pin
csadler15-Dec-03 13:51
membercsadler15-Dec-03 13:51 
GeneralRe: build Errors Pin
xiao hong27-Feb-04 2:58
memberxiao hong27-Feb-04 2:58 
GeneralRe: build Errors Pin
Oscarjofre6-Sep-05 6:15
memberOscarjofre6-Sep-05 6:15 
GeneralRe: build Errors Pin
sfdkuhudkj10-Mar-06 7:29
membersfdkuhudkj10-Mar-06 7:29 
GeneralVery important question! Pin
A. Riazi9-Dec-03 23:40
memberA. Riazi9-Dec-03 23:40 
GeneralRe: Very important question! Pin
Daniel Turini10-Dec-03 0:06
memberDaniel Turini10-Dec-03 0:06 
GeneralRe: Very important question! Pin
Balkrishna Talele10-Dec-03 23:43
memberBalkrishna Talele10-Dec-03 23:43 
GeneralRe: Very important question! Pin
rfmobile12-Dec-03 0:16
memberrfmobile12-Dec-03 0:16 
GeneralRe: Very important question! Pin
Daniël Pelsmaeker13-Dec-03 9:24
memberDaniël Pelsmaeker13-Dec-03 9:24 
GeneralRe: Very important question! Pin
__MadHatter__10-Feb-04 12:38
member__MadHatter__10-Feb-04 12:38 

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
Web02 | 2.8.171207.1 | Last Updated 10 Dec 2003
Article Copyright 2003 by Member 572469
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid