Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SankeyToolTipItem Class

Contains Sankey tooltip options.

Namespace: DevExpress.Xpf.Charts.Sankey

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public class SankeyToolTipItem :
    INotifyPropertyChanged

#Remarks

A SankeyToolTipItem object is the DataContext for the SankeyDiagramControl.ToolTipTemplate.

The following example defines the template that customizes the appearance of node and link tooltips:

<dxsa:SankeyDiagramControl.ToolTipTemplate>
    <DataTemplate>
        <Border BorderThickness="1" 
                CornerRadius="10" 
                Opacity="1.0" 
                Background="#FF2C2B2B">
            <StackPanel Orientation="Vertical" Margin="8">
                <Label Foreground="White" 
                       FontStyle="Italic" 
                       FontSize="14" 
                       Content="{Binding Path=Info.ToolTipText}" />
            </StackPanel>
        </Border>
    </DataTemplate>
</dxsa:SankeyDiagramControl.ToolTipTemplate>

Result:

Sankey Tooltip Template

#Inheritance

Object
SankeyToolTipItem
See Also