Back to Devexpress

BaseView.ShowRibbonPrintPreview() Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-ce6490c1.md

latest2.3 KB
Original Source

BaseView.ShowRibbonPrintPreview() Method

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

Declaration

csharp
public void ShowRibbonPrintPreview()
vb
Public Sub ShowRibbonPrintPreview

Remarks

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.

winforms-generate-skin-palettes-with-ai/CS/DevExpress.AI.WinForms.AIGeneratePalette.Demo/Views/DataGridView.cs#L17

csharp
void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) {
    gridView1.ShowRibbonPrintPreview();
}

See Also

ShowRibbonPrintPreview()

Printing Overview

BaseView Class

BaseView Members

DevExpress.XtraGrid.Views.Base Namespace