ComponentOne Input for WinForms
In This Topic
    Flat Styles
    In This Topic

    C1Button provides different flat styles to choose from when you move the mouse over the button control and click it.

    The ButtonBase.FlatStyle property includes the following values:

    Flat Style Preview
    Standard flatstyel_Standard            
    Flat flatstyle_Flat            
    Popup flatstyle_Popup            
    System flatstyle_system            

    When the ButtonBase.FlatStyle property is set to "Flat" you can modify the border color, border thickness, hover backcolor, and mouse down backcolor using the ButtonBase.FlatAppearance property. The ButtonBase.FlatAppearance property provides the following properties:

    The following image represents a flat style C1Button with its BorderColor, BorderSize, and MouseOverBackColor properties set.

    coloredbutton

    See Also