Skip to main content
All docs
V23.2

SankeyTitleCollection.AddRange(IEnumerable<SankeyTitle>) Method

Adds multiple Sankey titles to the SankeyTitleCollection.

Namespace: DevExpress.Xpf.Charts.Sankey

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public void AddRange(
    IEnumerable<SankeyTitle> items
)

Parameters

Name Type Description
items IEnumerable<SankeyTitle>

A range of titles.

Remarks

The following example adds two titles to the Sankey diagram:

sankeyDiagramControl1.Titles.AddRange(new List<SankeyTitle> {
    new SankeyTitle() {
        Content="Export/Import",
        Dock = Dock.Top,
        HorizontalAlignment= HorizontalAlignment.Center },
    new SankeyTitle() {
        Content="2019",
        Dock = Dock.Bottom,
        HorizontalAlignment= HorizontalAlignment.Center }
});
See Also