Back to Devexpress

GridControl.ShowPreview() Method

windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-b5ad56ac.md

latest1.7 KB
Original Source

GridControl.ShowPreview() Method

OBSOLETE

Use ShowPrintPreview() instead

Opens the Print Preview window for the grid control’s Default View.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use ShowPrintPreview instead")]
public void ShowPreview()
vb
<Obsolete("Use ShowPrintPreview instead")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Sub ShowPreview

Remarks

This method calls the BaseView.ShowPrintPreview method for the grid control’s Default View, specified by the GridControl.DefaultView property.

See Also

GridControl.ShowPrintPreview

BaseView.ShowPrintPreview

GridControl Class

GridControl Members

DevExpress.XtraGrid Namespace