windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-ce6490c1.md
Displays the Print Preview window with a Ribbon UI.
Namespace : DevExpress.XtraGrid.Views.Base
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
public void ShowRibbonPrintPreview()
Public Sub ShowRibbonPrintPreview
This method is equivalent to the GridControl.ShowRibbonPrintPreview method.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowRibbonPrintPreview() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) {
gridView1.ShowRibbonPrintPreview();
}
See Also