GridColumn.ToolTip Property
Gets or sets a column hint.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v20.2.dll
NuGet Package: DevExpress.Win.Grid
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.
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ToolTip property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.