Back to Devexpress

SankeyDiagramControl.ShowRibbonPrintPreviewDialog(Window) Method

wpf-devexpress-dot-xpf-dot-charts-dot-sankey-dot-sankeydiagramcontrol-dot-showribbonprintpreviewdialog-x28-system-dot-windows-dot-window-x29.md

latest3.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public void ShowRibbonPrintPreviewDialog(
    Window owner
)
vb
Public Sub ShowRibbonPrintPreviewDialog(
    owner As Window
)

Parameters

NameTypeDescription
ownerWindow

The Print Preview’s owner.

|

Remarks

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

csharp
sankeyDiagramControl1.ShowRibbonPrintPreviewDialog(this);
vb
sankeyDiagramControl1.ShowRibbonPrintPreviewDialog(Me)

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

NameDescription
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

ShowRibbonPrintPreviewDialog(Window, String)

ShowRibbonPrintPreviewDialog(Window, String, String)

SankeyDiagramControl Class

SankeyDiagramControl Members

DevExpress.Xpf.Charts.Sankey Namespace