2 writes to _printingState
PresentationFramework (2)
src\Framework\System\Windows\Controls\SinglePageViewer.cs (2)
678
_printingState
= new FlowDocumentPrintingState();
1123
_printingState
= null;
16 references to _printingState
PresentationFramework (16)
src\Framework\System\Windows\Controls\SinglePageViewer.cs (16)
664
if (
_printingState
!= null)
679
_printingState
.XpsDocumentWriter = docWriter;
680
_printingState
.PageSize = paginator.PageSize;
681
_printingState
.PagePadding = document.PagePadding;
682
_printingState
.IsSelectionEnabled = IsSelectionEnabled;
733
if (
_printingState
!= null)
735
_printingState
.XpsDocumentWriter.CancelAsync();
948
get { return (
_printingState
!= null); }
970
if (this.Document != null &&
_printingState
== null)
1097
if (
_printingState
!= null)
1107
if (
_printingState
.IsSelectionEnabled)
1116
_printingState
.XpsDocumentWriter.WritingCompleted -= new WritingCompletedEventHandler(HandlePrintCompleted);
1117
_printingState
.XpsDocumentWriter.WritingCancelled -= new WritingCancelledEventHandler(HandlePrintCancelled);
1120
((FlowDocument)Document).PagePadding =
_printingState
.PagePadding;
1121
Document.DocumentPaginator.PageSize =
_printingState
.PageSize;
1358
if (fdpv.
_printingState
!= null)