C1.Win.C1InputPanel 命名空间 > C1InputPanel 类 : ToolTipLinkClicked 事件 |
'声明
<C1CategoryAttribute("行为")> <C1DescriptionAttribute("在用户单击提示文本中的超链接之后触发。")> Public Event ToolTipLinkClicked As ToolTipLinkClickedEventHandler
'用法
Dim instance As C1InputPanel Dim handler As ToolTipLinkClickedEventHandler AddHandler instance.ToolTipLinkClicked, handler
[C1Category("行为")] [C1Description("在用户单击提示文本中的超链接之后触发。")] public event ToolTipLinkClickedEventHandler ToolTipLinkClicked
public event ToolTipLinkClicked: ToolTipLinkClickedEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[C1Category("行为")] [C1Description("在用户单击提示文本中的超链接之后触发。")] public: __event ToolTipLinkClickedEventHandler* ToolTipLinkClicked
[C1Category("行为")] [C1Description("在用户单击提示文本中的超链接之后触发。")] public: event ToolTipLinkClickedEventHandler^ ToolTipLinkClicked
The event handler receives an argument of type ToolTipLinkClickedEventArgs containing data related to this event. The following ToolTipLinkClickedEventArgs properties provide information specific to this event.
属性 | 说明 |
---|---|
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2