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

DataViewBase.ShowRibbonPrintPreviewDialog(Window, String, String) Method

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

Namespace: DevExpress.Xpf.Grid

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

Declaration

public void ShowRibbonPrintPreviewDialog(
    Window owner,
    string documentName,
    string title
)
Public Sub ShowRibbonPrintPreviewDialog(
    owner As Window,
    documentName As String,
    title 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.

title String

A String value specifying the title of the Print Preview.

See Also