Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SankeyDiagramControl.ShowRibbonPrintPreviewDialog(Window) Method

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. The Print Preview owner is passed as a parameter.

Namespace: DevExpress.Xpf.Charts.Sankey

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public void ShowRibbonPrintPreviewDialog(
    Window owner
)

#Parameters

Name Type Description
owner Window

The Print Preview’s owner.

#Remarks

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

sankeyDiagramControl1.ShowRibbonPrintPreviewDialog(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.
ShowRibbonPrintPreview(Window) Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document with a Ribbon toolbar.
See Also