ToolTip.BackColor 属性

定义

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

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

属性值

背景 ColorThe background Color.

注解

除非 ToolTip 是所有者描述的, 否则将忽略此属性。Unless the ToolTip is owner-drawn, this property is ignored.

系统默认字体将自动使用, 并且只能由所有者绘制工具提示进行重写。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.

适用于

另请参阅