2 writes to _printingState
PresentationFramework (2)
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
559
_printingState
= new FlowDocumentPrintingState();
1080
_printingState
= null;
18 references to _printingState
PresentationFramework (18)
System\Windows\Controls\FlowDocumentScrollViewer.cs (18)
539
if (
_printingState
!= null)
560
_printingState
.XpsDocumentWriter = docWriter;
561
_printingState
.PageSize = paginator.PageSize;
562
_printingState
.PagePadding = Document.PagePadding;
563
_printingState
.IsSelectionEnabled = IsSelectionEnabled;
564
_printingState
.ColumnWidth = Document.ColumnWidth;
616
if (
_printingState
!= null)
618
_printingState
.XpsDocumentWriter.CancelAsync();
894
get { return (
_printingState
!= null); }
1051
if (
_printingState
!= null)
1060
if (
_printingState
.IsSelectionEnabled)
1072
_printingState
.XpsDocumentWriter.WritingCompleted -= new WritingCompletedEventHandler(HandlePrintCompleted);
1073
_printingState
.XpsDocumentWriter.WritingCancelled -= new WritingCancelledEventHandler(HandlePrintCancelled);
1076
Document.PagePadding =
_printingState
.PagePadding;
1077
Document.ColumnWidth =
_printingState
.ColumnWidth;
1078
((IDocumentPaginatorSource)Document).DocumentPaginator.PageSize =
_printingState
.PageSize;
1408
if (viewer.
_printingState
== null)
1570
if (
_printingState
!= null)