2 writes to _printingState
PresentationFramework (2)
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
563
_printingState
= new FlowDocumentPrintingState();
1091
_printingState
= null;
18 references to _printingState
PresentationFramework (18)
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (18)
543
if (
_printingState
!= null)
564
_printingState
.XpsDocumentWriter = docWriter;
565
_printingState
.PageSize = paginator.PageSize;
566
_printingState
.PagePadding = Document.PagePadding;
567
_printingState
.IsSelectionEnabled = IsSelectionEnabled;
568
_printingState
.ColumnWidth = Document.ColumnWidth;
620
if (
_printingState
!= null)
622
_printingState
.XpsDocumentWriter.CancelAsync();
903
get { return (
_printingState
!= null); }
1062
if (
_printingState
!= null)
1071
if (
_printingState
.IsSelectionEnabled)
1083
_printingState
.XpsDocumentWriter.WritingCompleted -= new WritingCompletedEventHandler(HandlePrintCompleted);
1084
_printingState
.XpsDocumentWriter.WritingCancelled -= new WritingCancelledEventHandler(HandlePrintCancelled);
1087
Document.PagePadding =
_printingState
.PagePadding;
1088
Document.ColumnWidth =
_printingState
.ColumnWidth;
1089
((IDocumentPaginatorSource)Document).DocumentPaginator.PageSize =
_printingState
.PageSize;
1419
if (viewer.
_printingState
== null)
1581
if (
_printingState
!= null)