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]" };
6 references to 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
);