InputPanel for WinForms帮助文档
ToolTipText 属性






Gets or sets the text that appears as a ToolTip for this component (may include HTML tags).
语法
'声明
 
<System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="C1.Win.C1InputPanel.Design.ToolTipEditor, C1.Win.C1InputPanel.2, Version=2.0.20141.179, Culture=neutral, PublicKeyToken=79882d576c6336da")>
<System.ComponentModel.LocalizableAttribute(True)>
<C1DescriptionAttribute("显示为该组件提示文本的文本(可能包含HTML标记)。")>
<System.ComponentModel.DefaultValueAttribute()>
<C1CategoryAttribute("行为")>
Public Overridable Property ToolTipText As System.String
'用法
 
Dim instance As InputComponent
Dim value As System.String
 
instance.ToolTipText = value
 
value = instance.ToolTipText
[System.ComponentModel.Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="C1.Win.C1InputPanel.Design.ToolTipEditor, C1.Win.C1InputPanel.2, Version=2.0.20141.179, Culture=neutral, PublicKeyToken=79882d576c6336da")]
[System.ComponentModel.Localizable(true)]
[C1Description("显示为该组件提示文本的文本(可能包含HTML标记)。")]
[System.ComponentModel.DefaultValue()]
[C1Category("行为")]
public virtual System.string ToolTipText {get; set;}
public read-write property ToolTipText: System.String; virtual; 
System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="C1.Win.C1InputPanel.Design.ToolTipEditor, C1.Win.C1InputPanel.2, Version=2.0.20141.179, Culture=neutral, PublicKeyToken=79882d576c6336da")
System.ComponentModel.LocalizableAttribute()
C1DescriptionAttribute("显示为该组件提示文本的文本(可能包含HTML标记)。")
System.ComponentModel.DefaultValueAttribute()
C1CategoryAttribute("行为")
public function get,set ToolTipText : System.String
[System.ComponentModel.Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="C1.Win.C1InputPanel.Design.ToolTipEditor, C1.Win.C1InputPanel.2, Version=2.0.20141.179, Culture=neutral, PublicKeyToken=79882d576c6336da")]
[System.ComponentModel.Localizable(true)]
[C1Description("显示为该组件提示文本的文本(可能包含HTML标记)。")]
[System.ComponentModel.DefaultValue()]
[C1Category("行为")]
public: __property virtual System.string* get_ToolTipText();
public: __property virtual void set_ToolTipText( 
   System.string* value
);
[System.ComponentModel.Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="C1.Win.C1InputPanel.Design.ToolTipEditor, C1.Win.C1InputPanel.2, Version=2.0.20141.179, Culture=neutral, PublicKeyToken=79882d576c6336da")]
[System.ComponentModel.Localizable(true)]
[C1Description("显示为该组件提示文本的文本(可能包含HTML标记)。")]
[System.ComponentModel.DefaultValue()]
[C1Category("行为")]
public:
virtual property System.String^ ToolTipText {
   System.String^ get();
   void set (    System.String^ value);
}
需求

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

请参见

引用

InputComponent 类
InputComponent 成员

Send Feedback