Skip to main content
All docs
V23.2

HeatmapControl.ShowPrintPreviewDialog(Window) Method

Creates a document that contains the Heatmap Control and displays the Print Preview as a modal window. The Print Preview owner is passed as a parameter.

Namespace: DevExpress.Xpf.Charts.Heatmap

Assembly: DevExpress.Xpf.Charts.v23.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public void ShowPrintPreviewDialog(
    Window owner
)

Parameters

Name Type Description
owner Window

The Print Preview’s owner.

Remarks

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

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