Back to Devexpress

SankeyDiagramControl.NodeLabel Property

wpf-devexpress-dot-xpf-dot-charts-dot-sankey-dot-sankeydiagramcontrol-079c8012.md

latest2.7 KB
Original Source

SankeyDiagramControl.NodeLabel Property

Specifies Sankey node label settings.

Namespace : DevExpress.Xpf.Charts.Sankey

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public SankeyNodeLabel NodeLabel { get; set; }
vb
Public Property NodeLabel As SankeyNodeLabel

Property Value

TypeDescription
SankeyNodeLabel

Contains the node label settings.

|

Remarks

The following example customizes the node label appearance:

xaml
<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:

NameDescription
TextOrientationGets or sets the node label orientation.
ForegroundSpecifies the text color.
BorderBrushSpecifies the border color.
BorderThicknessGets or sets the border thickness.
BackgroundSpecifies the background color.
PaddingSpecifies 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

SankeyDiagramControl Class

SankeyDiagramControl Members

DevExpress.Xpf.Charts.Sankey Namespace