編集

次の方法で共有


VisualStyleInformation.TextControlBorder Property

Definition

Gets the color that the current visual style uses to paint the borders of controls that contain text.

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

Property Value

If visual styles are enabled, the Color that the current visual style uses to paint the borders of controls that contain text; otherwise, ControlDarkDark.

Remarks

This property specifies the border color of controls such as TextBox and ComboBox. This property checks the values of the IsEnabledByUser and VisualStyleRenderer.IsSupported properties internally.

Applies to