Skip to main content
All docs
V24.1

SankeyDiagramControl.ShowRibbonPrintPreview(Window) Method

Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document with a Ribbon toolbar. The Print Preview owner is passed as a parameter.

Namespace: DevExpress.Xpf.Charts.Sankey

Assembly: DevExpress.Xpf.Charts.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public void ShowRibbonPrintPreview(
    Window owner
)

Parameters

Name Type Description
owner Window

The Print Preview’s owner.

Remarks

The following example uses the ShowRibbonPrintPreview method to display the Print Preview:

sankeyDiagramControl1.ShowRibbonPrintPreview(this);

Use the methods below to show the Print Preview with other settings:

Name Description
ShowPrintPreview(Window) Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document.
ShowPrintPreviewDialog(Window) Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document as a modal window.
ShowRibbonPrintPreviewDialog(Window) Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document with a Ribbon toolbar as a modal window.
See Also