2 writes to _printingState
PresentationFramework (2)
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
562
_printingState
= new FlowDocumentPrintingState();
1083
_printingState
= null;
18 references to _printingState
PresentationFramework (18)
System\Windows\Controls\FlowDocumentScrollViewer.cs (18)
542
if (
_printingState
!= null)
563
_printingState
.XpsDocumentWriter = docWriter;
564
_printingState
.PageSize = paginator.PageSize;
565
_printingState
.PagePadding = Document.PagePadding;
566
_printingState
.IsSelectionEnabled = IsSelectionEnabled;
567
_printingState
.ColumnWidth = Document.ColumnWidth;
619
if (
_printingState
!= null)
621
_printingState
.XpsDocumentWriter.CancelAsync();
897
get { return (
_printingState
!= null); }
1054
if (
_printingState
!= null)
1063
if (
_printingState
.IsSelectionEnabled)
1075
_printingState
.XpsDocumentWriter.WritingCompleted -= new WritingCompletedEventHandler(HandlePrintCompleted);
1076
_printingState
.XpsDocumentWriter.WritingCancelled -= new WritingCancelledEventHandler(HandlePrintCancelled);
1079
Document.PagePadding =
_printingState
.PagePadding;
1080
Document.ColumnWidth =
_printingState
.ColumnWidth;
1081
((IDocumentPaginatorSource)Document).DocumentPaginator.PageSize =
_printingState
.PageSize;
1411
if (viewer.
_printingState
== null)
1573
if (
_printingState
!= null)