FlatButtonAppearance FlatButtonAppearance FlatButtonAppearance FlatButtonAppearance Class

定义

提供一些属性,这些属性可指定 ButtonFlatStyleFlat 控件的外观。Provides properties that specify the appearance of Button controls whose FlatStyle is Flat.

public ref class FlatButtonAppearance
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.FlatButtonAppearanceConverter))]
public class FlatButtonAppearance
type FlatButtonAppearance = class
Public Class FlatButtonAppearance
继承
FlatButtonAppearanceFlatButtonAppearanceFlatButtonAppearanceFlatButtonAppearance
属性

属性

BorderColor BorderColor BorderColor BorderColor

获取或设置按钮周围的边框的颜色。Gets or sets the color of the border around the button.

BorderSize BorderSize BorderSize BorderSize

获取或设置一个值,该值指定按钮周围的边框的大小(以像素为单位)。Gets or sets a value that specifies the size, in pixels, of the border around the button.

CheckedBackColor CheckedBackColor CheckedBackColor CheckedBackColor

获取或设置当按钮被选中且鼠标指针位于控件边框之外时按钮工作区的颜色。Gets or sets the color of the client area of the button when the button is checked and the mouse pointer is outside the bounds of the control.

MouseDownBackColor MouseDownBackColor MouseDownBackColor MouseDownBackColor

获取或设置在控件边框内按下鼠标时按钮工作区的颜色。Gets or sets the color of the client area of the button when the mouse is pressed within the bounds of the control.

MouseOverBackColor MouseOverBackColor MouseOverBackColor MouseOverBackColor

获取或设置当鼠标指针位于控件边框内时按钮工作区的颜色。Gets or sets the color of the client area of the button when the mouse pointer is within the bounds of the control.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于