This documentation is archived and is not being maintained.

ToolTip.Active Property

Gets or sets a value indicating whether the ToolTip is currently active.

[Visual Basic]
Public Property Active As Boolean
public bool Active {get; set;}
public: __property bool get_Active();
public: __property void set_Active(bool);
public function get Active() : Boolean;
public function set Active(Boolean);

Property Value

true if the ToolTip is currently active; otherwise, false. The default is true.


This property allows you to enable or disable the display of ToolTip text for all controls that have text specified in this particular ToolTip. More than one ToolTip can be created and assigned to a form; setting the Active property to false only affects the specified ToolTip. You can allow users to set the value of this property in a form that provides application options to provide the ability for the user to enable or disable the display of ToolTips in your application.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ToolTip Class | ToolTip Members | System.Windows.Forms Namespace