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

SankeyDiagramControl.NodeLabel Property

Specifies Sankey node label settings.

Namespace: DevExpress.Xpf.Charts.Sankey

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public SankeyNodeLabel NodeLabel { get; set; }

#Property Value

Type Description
SankeyNodeLabel

Contains the node label settings.

#Remarks

The following example customizes the node label appearance:

<dxsa:SankeyDiagramControl.NodeLabel>
    <dxsa:SankeyNodeLabel  TextOrientation="TopToBottom"  
                           Foreground="DarkBlue" 
                           BorderBrush="DarkBlue" 
                           BorderThickness="1"  
                           Background="White"  
                           Padding="2,2,2,2" >
    </dxsa:SankeyNodeLabel>
</dxsa:SankeyDiagramControl.NodeLabel> 

The related API members:

Name Description
TextOrientation Gets or sets the node label orientation.
Foreground Specifies the text color.
BorderBrush Specifies the border color.
BorderThickness Gets or sets the border thickness.
Background Specifies the background color.
Padding Specifies node label paddings.

You can also specify the SankeyNodeLabel.ContentTemplate property to customize node labels. See the following topic for more information: SankeyNodeLabel.ContentTemplate.

See Also