Skip to main content

GridColumn.ToolTip Property

Gets or sets a column hint.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[DefaultValue("")]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public virtual string ToolTip { get; set; }

Property Value

Type Default Description
String String.Empty

A custom tooltip for the column.

Remarks

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.

ShowColumnHeaderHint

Use the ToolTip property to specify a custom tooltip. A custom tooltip is displayed regardless of whether the caption is truncated.

Example

The code below assigns a custom tooltip to a grid column.

GC_ToolTip

gridView1.Columns["productPrice"].ToolTip = "Price of the product per item";
See Also