Class PrintBox
public class PrintBox : ItemsControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild- Inheritance
- 
      
      
      
      
      
      
      
      
      PrintBox
- Implements
- Inherited Members
- Extension Methods
Constructors
PrintBox()
public PrintBox()Fields
ExtentHeightProperty
public static readonly DependencyProperty ExtentHeightPropertyField Value
ExtentWidthProperty
public static readonly DependencyProperty ExtentWidthPropertyField Value
FixedPageMarginProperty
public static readonly DependencyProperty FixedPageMarginPropertyField Value
PrintPageHeightProperty
public static readonly DependencyProperty PrintPageHeightPropertyField Value
PrintPageWidthProperty
public static readonly DependencyProperty PrintPageWidthPropertyField Value
PrintableAreaHeightProperty
public static readonly DependencyProperty PrintableAreaHeightPropertyField Value
PrintableAreaWidthProperty
public static readonly DependencyProperty PrintableAreaWidthPropertyField Value
UseRightProperty
public static readonly DependencyProperty UseRightPropertyField Value
Properties
DefaultKey
public static ComponentResourceKey DefaultKey { get; }Property Value
ExtentHeight
public double ExtentHeight { get; set; }Property Value
ExtentWidth
public double ExtentWidth { get; set; }Property Value
FixedPageMargin
public Thickness FixedPageMargin { get; set; }Property Value
PrintPageHeight
public double PrintPageHeight { get; }Property Value
PrintPageWidth
public double PrintPageWidth { get; }Property Value
PrintableAreaHeight
public double PrintableAreaHeight { get; set; }Property Value
PrintableAreaWidth
public double PrintableAreaWidth { get; set; }Property Value
UseRight
public bool UseRight { get; set; }Property Value
Methods
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
protected override DependencyObject GetContainerForItemOverride()Returns
- DependencyObject
- The element that is used to display the given item. 
GetPageContents(FrameworkElement, PrintDialog)
public List<PageContent> GetPageContents(FrameworkElement toPrint, PrintDialog printDialog)Parameters
- toPrintFrameworkElement
- printDialogPrintDialog