System.Windows.Forms.ToolTip.Tag Property

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

Syntax

[System.ComponentModel.DefaultValue(null)]
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.StringConverter))]
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Localizable(false)]
public object Tag { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Requirements

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