All docs
V20.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
A newer version of this page is available. Switch to the current version.

SankeyNodeItem Class

Contains Sankey node options.

Namespace: DevExpress.Xpf.Charts.Sankey

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

Declaration

public class SankeyNodeItem :
    DependencyObject,
    INode,
    INotifyPropertyChanged

Remarks

A SankeyNodeItem object is the DataContext for the SankeyDiagramControl.NodeTemplate and SankeyNodeLabel.ContentTemplate.

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>

Inheritance

See Also