New to Telerik UI for WPFStart a free 30-day trial

Visual control used to display how the diagram will be paginated before printing.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Extensions

Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll

Syntax:

C#
[TelerikToolboxCategory("Diagram")]
public class RadDiagramPrintPreview : Control

Inheritance: objectRadDiagramPrintPreview

Constructors

Initializes a new instance of the RadDiagramPrintPreview class.

C#
public RadDiagramPrintPreview()

Fields

DiagramProperty

DependencyProperty

Identifies the Diagram dependency property.

C#
public static readonly DependencyProperty DiagramProperty

DpiProperty

DependencyProperty

Identifies the Dpi dependency property.

C#
public static readonly DependencyProperty DpiProperty

ItemStyleProperty

DependencyProperty

Identifies the ItemStyle dependency property.

C#
public static readonly DependencyProperty ItemStyleProperty

Identifies the PreviewPrint routed event.

C#
public static readonly RoutedEvent PreviewPrintEvent

PrintContentMarginProperty

DependencyProperty

Identifies the PrintContentMargin dependency property.

C#
public static readonly DependencyProperty PrintContentMarginProperty

PrintedEvent

RoutedEvent

Identifies the Printed routed event.

C#
public static readonly RoutedEvent PrintedEvent

PrintScaleFactorProperty

DependencyProperty

Registers the PrintScaleFactor dependency property.

C#
public static readonly DependencyProperty PrintScaleFactorProperty

ScaleDownFactorProperty

DependencyProperty

Identifies the ScaleDownFactor dependency property.

C#
public static readonly DependencyProperty ScaleDownFactorProperty

Properties

Gets or sets the diagram.

C#
public RadDiagram Diagram { get; set; }
Property Value:

The diagram.

Gets or sets the resolution used during print.

C#
public double Dpi { get; set; }

Checked whether there are print errors.

C#
public bool HasPrintErrors { get; }

Gets or sets the print preview item style.

C#
public Style ItemStyle { get; set; }

Gets the pages info.

C#
public RadDiagramPagesInfo PagesInfo { get; }

Gets or sets the margin for every page.

C#
public Thickness PrintContentMargin { get; set; }

Gets or sets the scale factor.

C#
public double PrintScaleFactor { get; set; }
Property Value:

The scale factor.

Gets or sets the scale down factor.

C#
public double ScaleDownFactor { get; set; }
Property Value:

The scale down factor.

Methods

C#
public override void OnApplyTemplate()
C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

Prints the associated diagram.

C#
public void Print(string title)
Parameters:titlestring

Title used in the print documents queue.

Events

PreviewPrint

EventHandler<RoutedEventArgs>

Occurs before diagram printing starts.

C#
public event EventHandler<RoutedEventArgs> PreviewPrint

Printed

EventHandler<RoutedEventArgs>

Occurs after diagram printing is completed.

C#
public event EventHandler<RoutedEventArgs> Printed