ToolTip.ForeColor Property


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

 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

Property Value


前景 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.

Applies to

See also