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

SankeyNodeItem.Node Property

Returns the SankeyNode object.

Namespace: DevExpress.Xpf.Charts.Sankey

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public SankeyNode Node { get; }

#Property Value

Type Description
SankeyNode

The SankeyNode object.

#Remarks

The following example uses the SankeyNodeItem.Node and SankeyNodeItem.Brush properties to define the SankeyNodeLabel.ContentTemplate:

<dxsa:SankeyDiagramControl.NodeLabel>
    <dxsa:SankeyNodeLabel>
        <dxsa:SankeyNodeLabel.ContentTemplate>
            <DataTemplate>
                <Border BorderThickness="1" CornerRadius="4" Opacity="1.0" Background="{Binding Brush}">
                    <Label  Content="{Binding Path=Node.Tag}" 
                            Padding="2,2,2,1.5"   
                            Foreground="White" 
                            FontSize="13" />
                </Border>
            </DataTemplate>
        </dxsa:SankeyNodeLabel.ContentTemplate>
    </dxsa:SankeyNodeLabel>
</dxsa:SankeyDiagramControl.NodeLabel>
See Also