VisualStyleInformation.TextControlBorder 属性

定义

获取当前视觉样式用于绘制包含文本的控件边框的颜色。

public:
 static property System::Drawing::Color TextControlBorder { System::Drawing::Color get(); };
public static System.Drawing.Color TextControlBorder { get; }
static member TextControlBorder : System.Drawing.Color
Public Shared ReadOnly Property TextControlBorder As Color

属性值

如果启用了视觉样式, Color 则当前视觉样式用于绘制包含文本的控件的边框;否则为 ControlDarkDark

注解

此属性指定控件的边框颜色,如 TextBoxComboBox。 此属性在内部检查和IsEnabledByUser属性的值VisualStyleRenderer.IsSupported

适用于