Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridColumn.ToolTip Property

Gets or sets a column hint.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.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