Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

LinkBase.Print() Method

Opens the Print dialog that allows printing the current document.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v24.1.dll

NuGet Package: DevExpress.Wpf.Printing

#Declaration

public bool? Print()

#Returns

Type Description
Nullable<Boolean>

true, if the user clicks OK in the dialog; false, if the user clicks Cancel; otherwise, null (Nothing in Visual Basic).

#Remarks

This method displays the Print dialog that allows an end-user to print the document, as well as select the printer (if required), specify the range of pages to print, the number of copies, etc. To print the document immediately without invoking any dialogs, use the LinkBase.PrintDirect method instead.

See Also