VisualStyleInformation.TextControlBorder Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET