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:
[TelerikToolboxCategory("Diagram")]
public class RadDiagramPrintPreview : Control
Inheritance: objectRadDiagramPrintPreview
Constructors
Initializes a new instance of the RadDiagramPrintPreview class.
public RadDiagramPrintPreview()
Fields
DiagramProperty
DependencyProperty
Identifies the Diagram dependency property.
public static readonly DependencyProperty DiagramProperty
DpiProperty
DependencyProperty
Identifies the Dpi dependency property.
public static readonly DependencyProperty DpiProperty
ItemStyleProperty
DependencyProperty
Identifies the ItemStyle dependency property.
public static readonly DependencyProperty ItemStyleProperty
PreviewPrintEvent
RoutedEvent
Identifies the PreviewPrint routed event.
public static readonly RoutedEvent PreviewPrintEvent
PrintContentMarginProperty
DependencyProperty
Identifies the PrintContentMargin dependency property.
public static readonly DependencyProperty PrintContentMarginProperty
PrintedEvent
RoutedEvent
Identifies the Printed routed event.
public static readonly RoutedEvent PrintedEvent
PrintScaleFactorProperty
DependencyProperty
Registers the PrintScaleFactor dependency property.
public static readonly DependencyProperty PrintScaleFactorProperty
ScaleDownFactorProperty
DependencyProperty
Identifies the ScaleDownFactor dependency property.
public static readonly DependencyProperty ScaleDownFactorProperty
Properties
Gets or sets the diagram.
public RadDiagram Diagram { get; set; }
The diagram.
Checked whether there are print errors.
public bool HasPrintErrors { get; }
ItemStyle
Style
Gets or sets the print preview item style.
public Style ItemStyle { get; set; }
Gets the pages info.
public RadDiagramPagesInfo PagesInfo { get; }
PrintContentMargin
Thickness
Gets or sets the margin for every page.
public Thickness PrintContentMargin { get; set; }
Gets or sets the scale factor.
public double PrintScaleFactor { get; set; }
The scale factor.
Gets or sets the scale down factor.
public double ScaleDownFactor { get; set; }
The scale down factor.
Methods
public override void OnApplyTemplate()
Prints the associated diagram.
Events
PreviewPrint
EventHandler<RoutedEventArgs>
Occurs before diagram printing starts.
public event EventHandler<RoutedEventArgs> PreviewPrint
Printed
EventHandler<RoutedEventArgs>
Occurs after diagram printing is completed.
public event EventHandler<RoutedEventArgs> Printed