DropDownList.ToolTip 屬性

定義

取得或設定當滑鼠指標停留在控制項上方時顯示的工具提示文字。

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; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.ToolTip : string with get, set
Public Overrides Property ToolTip As String

屬性值

當滑鼠指標停留在控制項上方時,會顯示工具提示文字。

屬性

備註

注意

屬性 ToolTip 繼承自 WebControl 類別,不適用於 DropDownList 控制項。 這個 屬性的實作 ToolTip 不允許您設定值,而且如果您使用 get 存取子,則會傳 String.Empty 回 。

適用於