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
This control is created based on Joaqs’s XP button in his Windows XP-like Controls. I add the properties
BtnShape and made the properties
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.
- Add the control to the Toolbox.
- Drop the control to the WinForm.
- Select the properties:
Silver for different looks
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
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.