Back to Devexpress

VGridControlBase.ShowRibbonPrintPreview() Method

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-8909c20a.md

latest1.9 KB
Original Source

VGridControlBase.ShowRibbonPrintPreview() Method

Displays the Print Preview window with a Ribbon UI.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
public void ShowRibbonPrintPreview()
vb
Public Sub ShowRibbonPrintPreview

Remarks

The Print Preview window displays the control’s data as it will appear when it is printed. The control can be previewed and printed if the XtraPrinting Library is available. To check if printing and previewing the grid control is allowed, use the VGridControlBase.IsPrintingAvailable property.

To display the Print Preview window with a Bars UI, use the VGridControlBase.ShowPrintPreview method.

See Also

Print()

IsPrintingAvailable

ShowPrintPreview()

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace