5 writes to Kind
System.Drawing.Common.Tests (5)
System\Drawing\Printing\PrinterResolutionTests.cs (5)
67Kind = value 72resolution.Kind = value; 82Assert.Throws<InvalidEnumArgumentException>("value", () => resolution.Kind = value); 89yield return new object[] { new PrinterResolution { Kind = PrinterResolutionKind.High }, "[PrinterResolution High]" }; 90yield return new object[] { new PrinterResolution { X = 1, Y = 2, Kind = PrinterResolutionKind.High }, "[PrinterResolution High]" };
10 references to Kind
System.Drawing.Common (4)
System\Drawing\Printing\PageSettings.cs (3)
295if (_printerResolution.Kind == PrinterResolutionKind.Custom) 311devmode->dmPrintQuality = (short)_printerResolution.Kind; 456&& resolutions[i].Kind == (PrinterResolutionKind)devmode->dmPrintQuality)
System\Drawing\Printing\PrinterResolution.cs (1)
58? $"[PrinterResolution {Kind}]"
System.Drawing.Common.Tests (6)
System\Drawing\Printing\PageSettingsTests.cs (2)
60Assert.Equal(ps.PrinterResolution.Kind, clone.PrinterResolution.Kind);
System\Drawing\Printing\PrintDocumentTests.cs (1)
246Assert.True(Enum.IsDefined(typeof(PrinterResolutionKind), pageSettings.PrinterResolution.Kind));
System\Drawing\Printing\PrinterResolutionTests.cs (3)
14Assert.Equal(PrinterResolutionKind.Custom, resolution.Kind); 69Assert.Equal(value, resolution.Kind); 73Assert.Equal(value, resolution.Kind);