Skip to main content
All docs
V25.1
  • HeatmapControl.ShowPrintPreviewDialog(Window, String) Method

    Creates a document that contains the Heatmap Control and displays the Print Preview as a modal window. The document name, the Print Preview owner are passed as parameters.

    Namespace: DevExpress.Xpf.Charts.Heatmap

    Assembly: DevExpress.Xpf.Charts.v25.1.dll

    NuGet Package: DevExpress.Wpf.Charts

    Declaration

    public void ShowPrintPreviewDialog(
        Window owner,
        string documentName
    )

    Parameters

    Name Type Description
    owner Window

    The Print Preview’s owner.

    documentName String

    The name of the document.

    Remarks

    The following example uses the ShowPrintPreviewDialog method to display the Print Preview:

    private void SimpleButton_Click(object sender, RoutedEventArgs e) {
        heatmapControl.ShowPrintPreviewDialog(this, "Heatmap document");
    }
    
    See Also