37 references to PaperSourceKind
System.Drawing (1)
System.Drawing.cs (1)
116[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.PaperSourceKind))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
2900public System.Drawing.Printing.PaperSourceKind Kind { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
System.Drawing.Common.Tests (35)
System\Drawing\Printing\PaperSourceTests.cs (35)
37Assert.Equal(PaperSourceKind.Custom, source.Kind); 38Assert.Equal((int)PaperSourceKind.Custom, source.RawKind); 43[InlineData((int)PaperSourceKind.Custom, PaperSourceKind.Custom)] 44[InlineData((int)PaperSourceKind.Upper, PaperSourceKind.Upper)] 45[InlineData((int)PaperSourceKind.TractorFeed, PaperSourceKind.TractorFeed)] 46[InlineData((int)PaperSourceKind.SmallFormat, PaperSourceKind.SmallFormat)] 47[InlineData((int)PaperSourceKind.Middle, PaperSourceKind.Middle)] 48[InlineData((int)PaperSourceKind.ManualFeed, PaperSourceKind.ManualFeed)] 49[InlineData((int)PaperSourceKind.Manual, PaperSourceKind.Manual)] 50[InlineData((int)PaperSourceKind.Lower, PaperSourceKind.Lower)] 51[InlineData((int)PaperSourceKind.LargeFormat, PaperSourceKind.LargeFormat)] 52[InlineData((int)PaperSourceKind.LargeCapacity, PaperSourceKind.LargeCapacity)] 53[InlineData((int)PaperSourceKind.FormSource, PaperSourceKind.FormSource)] 54[InlineData((int)PaperSourceKind.Envelope, PaperSourceKind.Envelope)] 55[InlineData((int)PaperSourceKind.Cassette, PaperSourceKind.Cassette)] 56[InlineData((int)PaperSourceKind.AutomaticFeed, PaperSourceKind.AutomaticFeed)] 57[InlineData(int.MaxValue, PaperSourceKind.Custom)] 58[InlineData(int.MinValue, (PaperSourceKind)int.MinValue)] 59[InlineData(0, (PaperSourceKind)0)] 60[InlineData(256, PaperSourceKind.Custom)] 61public void RawKind_Set_GetReturnsExpected(int value, PaperSourceKind expectedKind)