5 writes to Kind
System.Drawing.Common.Tests (5)
System\Drawing\Printing\PrinterResolutionTests.cs (5)
67
Kind
= value
72
resolution.
Kind
= value;
82
Assert.Throws<InvalidEnumArgumentException>("value", () => resolution.
Kind
= value);
89
yield return new object[] { new PrinterResolution {
Kind
= PrinterResolutionKind.High }, "[PrinterResolution High]" };
90
yield 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)
295
if (_printerResolution.
Kind
== PrinterResolutionKind.Custom)
311
devmode->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)
60
Assert.Equal(ps.PrinterResolution.
Kind
, clone.PrinterResolution.
Kind
);
System\Drawing\Printing\PrintDocumentTests.cs (1)
246
Assert.True(Enum.IsDefined(typeof(PrinterResolutionKind), pageSettings.PrinterResolution.
Kind
));
System\Drawing\Printing\PrinterResolutionTests.cs (3)
14
Assert.Equal(PrinterResolutionKind.Custom, resolution.
Kind
);
69
Assert.Equal(value, resolution.
Kind
);
73
Assert.Equal(value, resolution.
Kind
);