ToolTip.Tag ToolTip.Tag ToolTip.Tag ToolTip.Tag Property


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

 property System::Object ^ Tag { System::Object ^ get(); void set(System::Object ^ value); };
public object Tag { get; set; }
member this.Tag : obj with get, set
Public Property Tag As Object

Property Value

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.

Applies to

See also