Back to Devexpress

EmptySankeyText Class

wpf-devexpress-dot-xpf-dot-charts-dot-sankey-51548865.md

latest2.6 KB
Original Source

EmptySankeyText Class

Displays the text that indicates that 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 class EmptySankeyText :
    SankeyTextElement
vb
Public Class EmptySankeyText
    Inherits SankeyTextElement

The following members return EmptySankeyText objects:

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>

Inheritance

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ContentControl SankeyTextElement EmptySankeyText

See Also

EmptySankeyText Members

DevExpress.Xpf.Charts.Sankey Namespace