Back to Devexpress

TreeListColumn.ToolTip Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistcolumn-93538ac1.md

latest2.2 KB
Original Source

TreeListColumn.ToolTip Property

Gets or sets a custom tooltip for the column.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue("")]
[XtraSerializableProperty]
public virtual string ToolTip { get; set; }
vb
<DefaultValue("")>
<XtraSerializableProperty>
Public Overridable Property ToolTip As String

Property Value

TypeDefaultDescription
StringString.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

TreeListColumn Class

TreeListColumn Members

DevExpress.XtraTreeList.Columns Namespace