All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.

SankeyDiagramControl.NodeToolTipContentTemplate Property

Specifies the data template used to display the tooltip’s Sankey node content.

Namespace: DevExpress.Xpf.Charts.Sankey

Assembly: DevExpress.Xpf.Charts.v21.2.dll

Declaration

public DataTemplate NodeToolTipContentTemplate { get; set; }

Property Value

Type Description
DataTemplate

The data template used to display the tooltip’s Sankey node content.

Remarks

A SankeyToolTipInfo object is the DataContext for the NodeToolTipContentTemplate.

The following example uses the NodeToolTipContentTemplate to customize the tooltip’s Sankey node text:

<dxsa:SankeyDiagramControl.NodeToolTipContentTemplate>
    <DataTemplate>
        <StackPanel>
            <TextBlock Text="{Binding Path=ToolTipText}" />
            <TextBlock HorizontalAlignment="Center" Text="{Binding Path=SourceObject.TotalWeight}"/>
        </StackPanel>
    </DataTemplate>
</dxsa:SankeyDiagramControl.NodeToolTipContentTemplate>

Result:

Sankey Node Tooltip Content Template

See Also