Skip to main content
A newer version of this page is available. .

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.v18.2.Core.dll

Declaration

public void ShowRibbonPrintPreview(
    FrameworkElement owner,
    string documentName
)

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