A newer version of this page is available. Switch to the current version.

DataViewBase.ShowRibbonPrintPreviewDialog(Window, String) Method

Creates the print document from the DataViewBase and displays the document's modal Print Preview with the Ribbon using the specified owner and document name.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll

Declaration

public void ShowRibbonPrintPreviewDialog(
    Window owner,
    string documentName
)
Public Sub ShowRibbonPrintPreviewDialog(
    owner As Window,
    documentName As String
)

Parameters

Name Type Description
owner Window

A Window instance specifying the owner of the Print Preview.

documentName String

A String value specifying what name should be used for the document to be displayed in the Print Preview.

See Also