DropDownList.ToolTip DropDownList.ToolTip DropDownList.ToolTip DropDownList.ToolTip Property

定义

获取或设置当鼠标指针停留在控件上时所显示的工具提示文本。Gets or sets the ToolTip text displayed when the mouse pointer rests over the control.

public:
 virtual property System::String ^ ToolTip { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public override string ToolTip { get; set; }
member this.ToolTip : string with get, set
Public Overrides Property ToolTip As String

属性值

当鼠标指针停留在控件上时显示的工具提示文本。The ToolTip text displayed when the mouse pointer rests over the control.

注解

备注

属性是从类继承的, 不适用于DropDownList控件。 WebControl ToolTipThe ToolTip property is inherited from the WebControl class and is not applicable to the DropDownList control. ToolTip属性的实现不允许设置一个值, 如果使用 get 访问String.Empty器, 则返回。This implementation of the ToolTip property doesn't allow you to set a value and returns String.Empty if you use the get accessor.

适用于