windowsforms-devexpress-dot-xtragrid-dot-columns-dot-gridcolumn-57318f71.md
Gets or sets a column hint.
Namespace : DevExpress.XtraGrid.Columns
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue("")]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public virtual string ToolTip { get; set; }
<DXCategory("Appearance")>
<DefaultValue("")>
<XtraSerializableProperty>
Public Overridable Property ToolTip As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A custom tooltip for the column.
|
If the ShowColumnHeaderHints option is enabled, the view displays tooltips for truncated captions in column headers. The default tooltip contains the Caption property’s non-truncated value.
Use the ToolTip property to specify a custom tooltip. A custom tooltip is displayed regardless of whether the caption is truncated.
The code below assigns a custom tooltip to a grid column.
gridView1.Columns["productPrice"].ToolTip = "Price of the product per item";
gridView1.Columns("productPrice").ToolTip = "Price of the product per item"
See Also