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

DataViewBase.ShowRibbonPrintPreview(FrameworkElement, String) Method

Creates the print document from the DataViewBase and displays the document's 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 ShowRibbonPrintPreview(
    FrameworkElement owner,
    string documentName
)
Public Sub ShowRibbonPrintPreview(
    owner As FrameworkElement,
    documentName As String
)

Parameters

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.

See Also