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

DataViewBase.ShowRibbonPrintPreview(FrameworkElement, String, String) Method

Creates the print document from the DataViewBase and displays the document's 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


public void ShowRibbonPrintPreview(
    FrameworkElement owner,
    string documentName,
    string title
Public Sub ShowRibbonPrintPreview(
    owner As FrameworkElement,
    documentName As String,
    title As String


Name Type Description
owner FrameworkElement

A FrameworkElement 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