2 writes to _printingState
PresentationFramework (2)
System\Windows\Controls\SinglePageViewer.cs (2)
671
_printingState
= new FlowDocumentPrintingState();
1116
_printingState
= null;
16 references to _printingState
PresentationFramework (16)
System\Windows\Controls\SinglePageViewer.cs (16)
657
if (
_printingState
!= null)
672
_printingState
.XpsDocumentWriter = docWriter;
673
_printingState
.PageSize = paginator.PageSize;
674
_printingState
.PagePadding = document.PagePadding;
675
_printingState
.IsSelectionEnabled = IsSelectionEnabled;
726
if (
_printingState
!= null)
728
_printingState
.XpsDocumentWriter.CancelAsync();
941
get { return (
_printingState
!= null); }
963
if (this.Document != null &&
_printingState
== null)
1090
if (
_printingState
!= null)
1100
if (
_printingState
.IsSelectionEnabled)
1109
_printingState
.XpsDocumentWriter.WritingCompleted -= new WritingCompletedEventHandler(HandlePrintCompleted);
1110
_printingState
.XpsDocumentWriter.WritingCancelled -= new WritingCancelledEventHandler(HandlePrintCancelled);
1113
((FlowDocument)Document).PagePadding =
_printingState
.PagePadding;
1114
Document.DocumentPaginator.PageSize =
_printingState
.PageSize;
1351
if (fdpv.
_printingState
!= null)