Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HeatmapControl.ShowRibbonPrintPreview(Window, String) Method

Creates a document that contains the Heatmap Control and displays the Print Preview of the document with a Ribbon toolbar. The document name, the Print Preview owner are passed as parameters.

Namespace: DevExpress.Xpf.Charts.Heatmap

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public void ShowRibbonPrintPreview(
    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 ShowRibbonPrintPreview method to display the Print Preview:

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