ColumnBase.HeaderToolTipTemplate Property

Gets or sets the template that defines the tooltip’s presentation. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll


public DataTemplate HeaderToolTipTemplate { get; set; }

Property Value

Type Description

A DataTemplate object that defines the presentation of a column header’s tooltip.


Use the ColumnBase.HeaderToolTip property to set the tooltip’s text. Use the HeaderToolTipTemplate property to define a custom representation for an individual column’s tooltip. Use the DataControlBase.ColumnHeaderToolTipTemplate property to specify a common tooltip template for all the columns in the Grid Control. The ColumnBase.ActualHeaderToolTipTemplate property returns a column’s current tooltip template.

The following code sample shows how to add an image to a tooltip using the HeaderToolTipTemplate property:

<Grid:GridTextColumn FieldName="ProductName"> 
            <StackPanel Orientation="Horizontal"> 
                <Image Source="icon.png" Margin="0,0,5,0"></Image> 
                <TextBlock Text="{Binding Path=HeaderCaption}" /> 
See Also