4 writes to DefaultPageSettings
System.Drawing.Common.Tests (4)
System\Drawing\Printing\PrintDocumentTests.cs (4)
51document.DefaultPageSettings = null; 54document.DefaultPageSettings = _pageSettings; 62document.DefaultPageSettings = null; 120document.DefaultPageSettings = _pageSettings;
13 references to DefaultPageSettings
System.Drawing.Common.Tests (5)
System\Drawing\Printing\PrintDocumentTests.cs (5)
44AssertDefaultPageSettings(document.DefaultPageSettings); 52Assert.IsAssignableFrom<PageSettings>(document.DefaultPageSettings); 63AssertDefaultPageSettings(document.DefaultPageSettings); 118document.DefaultPageSettings.PaperSize.Kind); 124document.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)
123Assert.Same(value?.DefaultPageSettings, dialog.PageSettings); 129Assert.Same(value?.DefaultPageSettings, dialog.PageSettings); 144Assert.Same(value.DefaultPageSettings, dialog.PageSettings); 150Assert.Same(value.DefaultPageSettings, dialog.PageSettings); 165Assert.Same(original.DefaultPageSettings, dialog.PageSettings); 171Assert.Same(original.DefaultPageSettings, dialog.PageSettings);