GridColumn.ToolTip Property
Gets or sets a column hint.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v24.1.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.
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.
See Also