Share via


ListBox.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 不適用於 ListBox 控制項。 此屬性的 ToolTip 這個實作不允許您設定值,而且如果您使用 get 存取子,則會傳 String.Empty 回 。

適用於