8 instantiations of PageSettings
PresentationCore.Tests (1)
BinaryFormat\DataObjectTests.cs (1)
56new System.Drawing.Printing.PageSettings(),
System.Drawing.Common.Tests (6)
System\Drawing\Printing\PageSettingsTests.cs (1)
37PageSettings ps = new()
System\Drawing\Printing\PreviewPrintControllerTests.cs (1)
22PrintPageEventArgs printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, new PageSettings());
System\Drawing\Printing\PrintDocumentTests.cs (1)
30private readonly PageSettings _pageSettings = new()
System\Drawing\Printing\PrinterSettingsTests.cs (3)
479PageSettings pageSettings = new(); 492PageSettings pageSettings = new(); 521PageSettings pageSettings = new();
System.Windows.Forms.Tests (1)
System\Windows\Forms\PageSetupDialogTests.cs (1)
264yield return new object[] { new PageSettings() };
26 references to PageSettings
System.Drawing (1)
System.Drawing.cs (1)
112[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.PageSettings))]
System.Drawing.Common (9)
Special\NotSupported.cs (9)
2967public System.Drawing.Printing.PageSettings DefaultPageSettings { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } 3014public System.Drawing.Printing.PageSettings DefaultPageSettings { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } 3037public System.Drawing.Graphics CreateMeasurementGraphics(System.Drawing.Printing.PageSettings pageSettings) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3038public System.Drawing.Graphics CreateMeasurementGraphics(System.Drawing.Printing.PageSettings pageSettings, bool honorOriginAtMargins) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3040public System.IntPtr GetHdevmode(System.Drawing.Printing.PageSettings pageSettings) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3140public PrintPageEventArgs(System.Drawing.Graphics? graphics, System.Drawing.Rectangle marginBounds, System.Drawing.Rectangle pageBounds, System.Drawing.Printing.PageSettings pageSettings) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3146public System.Drawing.Printing.PageSettings PageSettings { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } 3160public QueryPageSettingsEventArgs(System.Drawing.Printing.PageSettings pageSettings) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3161public System.Drawing.Printing.PageSettings PageSettings { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
System.Drawing.Common.Tests (9)
System\Drawing\Printing\PageSettingsTests.cs (3)
37PageSettings ps = new() 44PageSettings clone = (PageSettings)ps.Clone();
System\Drawing\Printing\PrintDocumentTests.cs (3)
30private readonly PageSettings _pageSettings = new() 52Assert.IsAssignableFrom<PageSettings>(document.DefaultPageSettings); 232private static void AssertDefaultPageSettings(PageSettings pageSettings)
System\Drawing\Printing\PrinterSettingsTests.cs (3)
479PageSettings pageSettings = new(); 492PageSettings pageSettings = new(); 521PageSettings pageSettings = new();
System.Windows.Forms (5)
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
21private PageSettings? _pageSettings; 115public PageSettings? PageSettings 239PageSettings pageSettings,
System\Windows\Forms\Printing\PrintDialog.cs (2)
83private PageSettings PageSettings => Document is null 472PageSettings? pageSettings)
System.Windows.Forms.Tests (2)
System\Windows\Forms\PageSetupDialogTests.cs (2)
269public void PageSetupDialog_PageSettings_Set_GetReturnsExpected(PageSettings value) 286public void PageSetupDialog_PageSettings_SetWithDocument_GetReturnsExpected(PageSettings value)