InputPanel for WinForms帮助文档
HitTestVisible 属性






Gets or sets a value that determines whether the tooltip is visible to the mouse.
语法
'声明
 
<C1DescriptionAttribute("指定提示文本对鼠标可见。")>
<C1CategoryAttribute("行为")>
<System.ComponentModel.DefaultValueAttribute()>
Public Property HitTestVisible As System.Boolean
'用法
 
Dim instance As ToolTipSettings
Dim value As System.Boolean
 
instance.HitTestVisible = value
 
value = instance.HitTestVisible
[C1Description("指定提示文本对鼠标可见。")]
[C1Category("行为")]
[System.ComponentModel.DefaultValue()]
public System.bool HitTestVisible {get; set;}
public read-write property HitTestVisible: System.Boolean; 
C1DescriptionAttribute("指定提示文本对鼠标可见。")
C1CategoryAttribute("行为")
System.ComponentModel.DefaultValueAttribute()
public function get,set HitTestVisible : System.boolean
[C1Description("指定提示文本对鼠标可见。")]
[C1Category("行为")]
[System.ComponentModel.DefaultValue()]
public: __property System.bool get_HitTestVisible();
public: __property void set_HitTestVisible( 
   System.bool value
);
[C1Description("指定提示文本对鼠标可见。")]
[C1Category("行为")]
[System.ComponentModel.DefaultValue()]
public:
property System.bool HitTestVisible {
   System.bool get();
   void set (    System.bool value);
}
备注
Set this property to true if you want to add clickable areas to the tooltip, such as hyperlinks. In this case, the tooltip becomes visible to the mouse, it handles the mouse events itself instead of passing them to the control under the tooltip.
需求

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

请参见

引用

ToolTipSettings 类
ToolTipSettings 成员

Send Feedback