Back to Devexpress

SankeyDiagramControl.EmptySankeyText Property

wpf-devexpress-dot-xpf-dot-charts-dot-sankey-dot-sankeydiagramcontrol-e1ec824f.md

latest2.1 KB
Original Source

SankeyDiagramControl.EmptySankeyText Property

Contains settings of the text that is displayed when the SankeyDiagramControl has no data.

Namespace : DevExpress.Xpf.Charts.Sankey

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public EmptySankeyText EmptySankeyText { get; set; }
vb
Public Property EmptySankeyText As EmptySankeyText

Property Value

TypeDescription
EmptySankeyText

Settings of the text that is displayed when the SankeyDiagramControl has no data.

|

Remarks

The following image demonstrates the default text.

The example below shows how to override the default text.

xaml
<dxsa:SankeyDiagramControl.EmptySankeyText>
  <dxsa:EmptySankeyText>
      <dxsa:EmptySankeyText.ContentTemplate>
          <DataTemplate>
              <TextBlock Foreground="Gray" 
                          FontSize="16" 
                          Text="No data to display."/>
          </DataTemplate>
      </dxsa:EmptySankeyText.ContentTemplate>
  </dxsa:EmptySankeyText>
</dxsa:SankeyDiagramControl.EmptySankeyText>

See Also

SankeyDiagramControl Class

SankeyDiagramControl Members

DevExpress.Xpf.Charts.Sankey Namespace