ToolTip.ForeColor ToolTip.ForeColor ToolTip.ForeColor ToolTip.ForeColor Property

定义

获取或设置工具提示的前景色。Gets or sets the foreground color for the ToolTip.

public:
 property System::Drawing::Color ForeColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
public System.Drawing.Color ForeColor { get; set; }
member this.ForeColor : System.Drawing.Color with get, set
Public Property ForeColor As Color

属性值

前景 ColorThe foreground Color.

注解

BackColor使用和ForeColor属性来修改工具提示使用的配色方案。Use the BackColor and ForeColor properties to modify the color scheme used by ToolTips. 系统默认字体将自动使用, 并且只能由所有者绘制工具提示进行重写。The system default font is automatically used and can only be overridden by owner-drawing the ToolTip. 有关更多信息,请参见 OwnerDraw 属性。For more information, see the OwnerDraw property.

适用于

另请参阅