Table of Contents

Class ExFlatButtonAppearance

Namespace
ExControls
Assembly
ExControls.dll

Border and background colors of an ExButton in the flat style, including the colors for the mouse and focus states.

[TypeConverter(typeof(ExpandableObjectConverter))]
public class ExFlatButtonAppearance
Inheritance
ExFlatButtonAppearance
Inherited Members

Constructors

ExFlatButtonAppearance(ButtonBase)

Initializes a new instance of the ExFlatButtonAppearance class.

public ExFlatButtonAppearance(ButtonBase owner)

Parameters

owner ButtonBase

The button whose appearance is configured.

Properties

BorderColor

Gets or sets the border color of the button. While the hover, pressed or focus border color is shown, the original border color is returned.

[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[ExDescription("ButtonBorderColorDescr")]
public Color BorderColor { get; set; }

Property Value

Color

BorderSize

Gets or sets the width of the button border in pixels.

[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[ExDescription("ButtonBorderSizeDescr")]
public int BorderSize { get; set; }

Property Value

int

CheckedBackColor

Gets or sets the background color of the button when it is checked.

[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[ExDescription("ButtonCheckedBackColorDescr")]
public Color CheckedBackColor { get; set; }

Property Value

Color

FocusBorderColor

Gets or sets the border color of the button when it has focus. Empty keeps the border color unchanged.

[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[ExDescription("ButtonMouseOverBackColorDescr")]
public Color FocusBorderColor { get; set; }

Property Value

Color

MouseDownBackColor

Gets or sets the background color of the button while the mouse button is pressed over it.

[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[ExDescription("ButtonMouseDownBackColorDescr")]
public Color MouseDownBackColor { get; set; }

Property Value

Color

MouseDownBorderColor

Gets or sets the border color of the button while the mouse button is pressed over it. Empty keeps the border color unchanged.

[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[ExDescription("ButtonMouseDownBackColorDescr")]
public Color MouseDownBorderColor { get; set; }

Property Value

Color

MouseOverBackColor

Gets or sets the background color of the button when the mouse pointer is over it.

[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[ExDescription("ButtonMouseOverBackColorDescr")]
public Color MouseOverBackColor { get; set; }

Property Value

Color

MouseOverBorderColor

Gets or sets the border color of the button when the mouse pointer is over it. Empty keeps the border color unchanged.

[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
[ExDescription("ButtonMouseOverBackColorDescr")]
public Color MouseOverBorderColor { get; set; }

Property Value

Color

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.