Skip to main content
A newer version of this page is available. .
All docs
V20.2

CustomizeSankeyNodeEventArgs Class

Data for the CustomizeNode event.

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.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