Click here to Skip to main content
13,088,507 members (54,009 online)
Click here to Skip to main content

Stats

43.7K views
4.6K downloads
101 bookmarked
Posted 3 Dec 2009

ButtonBar Control using .NET

, 3 Dec 2009
Themed ButtonBar control supporting custom draw with full Designer support
namespace ButtonBarsControl.Design.Enums
{
    /// <summary>
    /// Enum representing State of Button
    /// </summary>
    public enum State
    {
        /// <summary>
        /// Button is Selected
        /// </summary>
        Selected = 5,
        /// <summary>
        /// Button is Disabled
        /// </summary>
        Disabled = 4,
        /// <summary>
        /// Buton has mouse hover
        /// </summary>
        Hover = 2,
        /// <summary>
        /// Button is Selected and Mouse is over button
        /// </summary>
        SelectedHover = 6,
        /// <summary>
        /// Button is in normal State
        /// </summary>
        Normal = 1,
        /// <summary>
        /// Button is pressed
        /// </summary>
        Pressed = 3
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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

Share

About the Author

Manish Ranjan Kumar
Software Developer (Senior)
India India
No Biography provided

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170813.1 | Last Updated 3 Dec 2009
Article Copyright 2009 by Manish Ranjan Kumar
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid