Back to Devexpress

SankeyTitle Class

corelibraries-devexpress-dot-xtracharts-dot-sankey-764d4bcd.md

latest2.0 KB
Original Source

SankeyTitle Class

A title for Sankey diagrams.

Namespace : DevExpress.XtraCharts.Sankey

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public class SankeyTitle :
    SankeyTextElement,
    IXtraSupportShouldSerialize
vb
Public Class SankeyTitle
    Inherits SankeyTextElement
    Implements IXtraSupportShouldSerialize

Remarks

The following code creates a title and adds it to a Sankey diagram:

csharp
sankeyDiagramControl1.Titles.Add(new SankeyTitle {
    Text = "Export/Import", 
    Dock = SankeyTitleDockStyle.Top, 
    Indent = 100 
});
vb
sankeyDiagramControl1.Titles.Add(New SankeyTitle With {
            .Text = "Export/Import",
            .Dock = SankeyTitleDockStyle.Bottom,
            .Indent = 100
        })

Related API members:

Inheritance

Object SankeyTextElement SankeyTitle

See Also

SankeyTitle Members

DevExpress.XtraCharts.Sankey Namespace