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