4 writes to DefaultPageSettings
System.Drawing.Common.Tests (4)
System\Drawing\Printing\PrintDocumentTests.cs (4)
51
document.
DefaultPageSettings
= null;
54
document.
DefaultPageSettings
= _pageSettings;
62
document.
DefaultPageSettings
= null;
120
document.
DefaultPageSettings
= _pageSettings;
13 references to DefaultPageSettings
System.Drawing.Common.Tests (5)
System\Drawing\Printing\PrintDocumentTests.cs (5)
44
AssertDefaultPageSettings(document.
DefaultPageSettings
);
52
Assert.IsAssignableFrom<PageSettings>(document.
DefaultPageSettings
);
63
AssertDefaultPageSettings(document.
DefaultPageSettings
);
118
document.
DefaultPageSettings
.PaperSize.Kind);
124
document.
DefaultPageSettings
.PaperSize.Kind);
System.Windows.Forms (2)
System\Windows\Forms\Printing\PageSetupDialog.cs (1)
79
_pageSettings = _printDocument.
DefaultPageSettings
;
System\Windows\Forms\Printing\PrintDialog.cs (1)
85
: Document.
DefaultPageSettings
;
System.Windows.Forms.Tests (6)
System\Windows\Forms\PageSetupDialogTests.cs (6)
123
Assert.Same(value?.
DefaultPageSettings
, dialog.PageSettings);
129
Assert.Same(value?.
DefaultPageSettings
, dialog.PageSettings);
144
Assert.Same(value.
DefaultPageSettings
, dialog.PageSettings);
150
Assert.Same(value.
DefaultPageSettings
, dialog.PageSettings);
165
Assert.Same(original.
DefaultPageSettings
, dialog.PageSettings);
171
Assert.Same(original.
DefaultPageSettings
, dialog.PageSettings);