Skip to main content
All docs
V25.1
  • CustomizeSankeyNodeEventArgs Class

    Data for the CustomizeNode event.

    Namespace: DevExpress.XtraCharts.Sankey

    Assembly: DevExpress.XtraCharts.v25.1.dll

    NuGet Package: DevExpress.Charts

    Declaration

    public class CustomizeSankeyNodeEventArgs :
        EventArgs

    Remarks

    Handle the CustomizeNode event to access a specific node and customize it based on a certain condition:

    sankeyDiagramControl1.CustomizeNode += OnCustomizeNode;
    //...
    private void OnCustomizeNode(object sender, CustomizeSankeyNodeEventArgs e) {
        if (e.Label.Text == "France" && e.Node.Level == 0) {
            e.Label.Font = new Font("Tahoma", 16);
            e.Label.Text = "France (Source)";
        }
    }
    

    Inheritance

    Object
    EventArgs
    CustomizeSankeyNodeEventArgs
    See Also