Skip to main content

TreeListColumn.ToolTip Property

Gets or sets a custom tooltip for the column.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

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

Property Value

Type Default Description
String String.Empty

A string representing a custom tooltip for the column.

Remarks

When the treelist’s TreeListOptionsBehavior.ShowToolTips option is set to true, tooltips are supported for column headers.

When hovering with a mouse pointer over a column header where text is trimmed, a default tooltip is displayed. The default tooltip contains the column’s non-trimmed caption (TreeListColumn.Caption).

The ToolTip property allows you to provide a custom tooltip for a column. When a custom tooltip is assigned to the column, it’s displayed when an end-user hovers the mouse pointer over the column’s header, whether or not the column’s caption is trimmed.

See Also