Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ToolTip::Tag Property

 

Gets or sets the object that contains programmer-supplied data associated with the ToolTip.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
[BindableAttribute(true)]
[TypeConverterAttribute((StringConverter^::typeid))]
property Object^ Tag {
	Object^ get();
	void set(Object^ value);
}

Property Value

Type: System::Object^

An Object that contains data about the ToolTip. The default is null.

Typically, you use the Tag property to store data that is closely associated with the ToolTip. For example, if you are displaying a ToolTip for a control that displays customer information, you might store the DataSet that contains the customer's information in the Tag property so the data can be accessed quickly.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft