2 writes to _printingState
PresentationFramework (2)
System\Windows\Controls\SinglePageViewer.cs (2)
668
_printingState
= new FlowDocumentPrintingState();
1113
_printingState
= null;
16 references to _printingState
PresentationFramework (16)
System\Windows\Controls\SinglePageViewer.cs (16)
654
if (
_printingState
!= null)
669
_printingState
.XpsDocumentWriter = docWriter;
670
_printingState
.PageSize = paginator.PageSize;
671
_printingState
.PagePadding = document.PagePadding;
672
_printingState
.IsSelectionEnabled = IsSelectionEnabled;
723
if (
_printingState
!= null)
725
_printingState
.XpsDocumentWriter.CancelAsync();
938
get { return (
_printingState
!= null); }
960
if (this.Document != null &&
_printingState
== null)
1087
if (
_printingState
!= null)
1097
if (
_printingState
.IsSelectionEnabled)
1106
_printingState
.XpsDocumentWriter.WritingCompleted -= new WritingCompletedEventHandler(HandlePrintCompleted);
1107
_printingState
.XpsDocumentWriter.WritingCancelled -= new WritingCancelledEventHandler(HandlePrintCancelled);
1110
((FlowDocument)Document).PagePadding =
_printingState
.PagePadding;
1111
Document.DocumentPaginator.PageSize =
_printingState
.PageSize;
1348
if (fdpv.
_printingState
!= null)