Skip to main content

ColumnBase.HeaderToolTip Property

Gets or sets the column header tooltip. This is a dependency property.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

[DP(null, Handler = "OnHeaderToolTipChanged")]
public object HeaderToolTip { get; set; }

#Property Value

Type Description
Object

The column header tooltip.

#Remarks

The tooltip is shown when the cursor hovers over the column header.

The following code sample displays the header’s tooltip for the Product Name column:

WinUI Grid - Column Header Tooltip

<dxg:GridControl.Columns>
    <dxg:GridTextColumn FieldName="ProductName" HeaderToolTip="Product"/>
    <!-- ... -->
</dxg:GridControl.Columns>

Specify the ColumnBase.HeaderToolTipTemplate property to define a custom column header tooltip.

See Also