Skip to main content
All docs
V25.1
  • SankeyDiagramControl.NodeLabel Property

    Specifies Sankey node label settings.

    Namespace: DevExpress.Xpf.Charts.Sankey

    Assembly: DevExpress.Xpf.Charts.v25.1.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