'宣言 Public Event ToolTipLinkClicked As EventHandler(Of ToolTipLinkClickedEventArgs)
public event EventHandler<ToolTipLinkClickedEventArgs> ToolTipLinkClicked
イベント データ
イベント ハンドラが、このイベントに関連するデータを含む、ToolTipLinkClickedEventArgs 型の引数を受け取りました。次の ToolTipLinkClickedEventArgs プロパティには、このイベントの固有の情報が記載されます。
| プロパティ | 解説 |
|---|---|
| Button | Gets the button that was clicked on the link. |
| HRef | Gets the value of the link's HREF attribute. |
| Target | Gets the value of the link's TARGET attribute. |
解説
By default, tooltips are invisible to the mouse and therefore cannot be clicked. You must set the ToolTipSettings.HitTestVisible property is to true in order to make the tooltip visible to the mouse (and clickable).
Hyperlinks are created using "A" tags in the HTML source text. When hyperlinks are clicked, the ToolTipLinkClicked event fires and provides information about the link. The event handler can then take appropriate action.
参照