ButtonBase.FlatAppearance 属性

定义

获取用于指示选中状态和鼠标状态的边框外观和颜色。

C#
[System.ComponentModel.Browsable(true)]
public System.Windows.Forms.FlatButtonAppearance FlatAppearance { get; }

属性值

FlatButtonAppearance 值之一。

属性

注解

FlatAppearance仅对 Button 为 的FlatStyleFlat控件使用 属性。

适用于

产品 版本
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10