11 references to Duplex
System.Drawing (1)
System.Drawing.cs (1)
108[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.Duplex))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
3015public System.Drawing.Printing.Duplex Duplex { 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\PrinterSettingsTests.cs (9)
104[InlineData(Duplex.Simplex)] 105[InlineData(Duplex.Vertical)] 106[InlineData(Duplex.Horizontal)] 107public void Duplex_SetValue_ReturnsExpected(Duplex duplex) 118[InlineData(Duplex.Default - 1)] 119[InlineData(Duplex.Horizontal + 1)] 120[InlineData((Duplex)int.MaxValue)] 121[InlineData((Duplex)int.MinValue)] 122public void Duplex_Invalid_ThrowsInvalidEnumArgumentException(Duplex duplex)