Back to Devexpress

PrintRibbonController.PrintControl Property

windowsforms-devexpress-dot-xtraprinting-dot-preview-dot-printribboncontroller-21ffeffe.md

latest2.1 KB
Original Source

PrintRibbonController.PrintControl Property

Gets or sets the PrintControl class instance to which the Print Ribbon Controller belongs.

Namespace : DevExpress.XtraPrinting.Preview

Assembly : DevExpress.XtraPrinting.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
[DefaultValue(null)]
public virtual PrintControl PrintControl { get; set; }
vb
<DefaultValue(Nothing)>
Public Overridable Property PrintControl As PrintControl

Property Value

TypeDefaultDescription
PrintControlnull

A PrintControl class instance to which the Print Ribbon Controller belongs.

|

Remarks

Use the PrintControl property to assign an instance of the PrintRibbonController class to the particular PrintControl object when creating a Print Preview Form with Ribbon. After a Print Control has been assigned, the Ribbon elements can be used to print out, zoom, navigate and perform other actions on the document shown in the PrintControl.

See Also

PrintRibbonController Class

PrintRibbonController Members

DevExpress.XtraPrinting.Preview Namespace