34 writes to ColorDepth
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
518
images.
ColorDepth
= ColorDepth.Depth32Bit;
System.Windows.Forms (1)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
98
private void ResetColorDepth() =>
ColorDepth
= ColorDepth.Depth32Bit;
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DesignBindingPicker.cs (3)
1913
ColorDepth
= ColorDepth.Depth24Bit
1925
ColorDepth
= ColorDepth.Depth24Bit
1943
ColorDepth
= ColorDepth.Depth24Bit,
System\Windows\Forms\Design\ImageListDesigner.cs (1)
31
ImageList.
ColorDepth
= value;
System.Windows.Forms.Tests (25)
System\Windows\Forms\ImageList.ImageCollectionTests.cs (3)
48
ColorDepth
= depth
96
ColorDepth
= depth
197
ColorDepth
= ColorDepth.Depth32Bit
System\Windows\Forms\ImageListTests.cs (22)
60
ColorDepth
= value
66
list.
ColorDepth
= value;
79
list.
ColorDepth
= ColorDepth.Depth24Bit;
85
list.
ColorDepth
= ColorDepth.Depth24Bit;
91
list.
ColorDepth
= ColorDepth.Depth16Bit;
98
list.
ColorDepth
= ColorDepth.Depth24Bit;
111
list.
ColorDepth
= value;
116
list.
ColorDepth
= value;
136
list.
ColorDepth
= ColorDepth.Depth24Bit;
143
list.
ColorDepth
= ColorDepth.Depth24Bit;
150
list.
ColorDepth
= ColorDepth.Depth16Bit;
159
list.
ColorDepth
= ColorDepth.Depth24Bit;
174
list.
ColorDepth
= ColorDepth.Depth8Bit;
191
list.
ColorDepth
= ColorDepth.Depth8Bit;
210
ColorDepth
= colorDepth
223
Assert.Throws<InvalidEnumArgumentException>("value", () => list.
ColorDepth
= value);
458
ColorDepth
= colorDepth,
495
ColorDepth
= colorDepth,
522
ColorDepth
= colorDepth,
547
ColorDepth
= colorDepth,
572
ColorDepth
= colorDepth,
596
ColorDepth
= colorDepth,
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
40
imageList1.
ColorDepth
= ColorDepth.Depth32Bit;
WinFormsControlsTest (2)
ListViewTest.Designer.cs (1)
129
this.LargeImageList.
ColorDepth
= System.Windows.Forms.ColorDepth.Depth24Bit;
TreeViewTest.Designer.cs (1)
54
this.imageList1.
ColorDepth
= System.Windows.Forms.ColorDepth.Depth8Bit;
36 references to ColorDepth
System.Windows.Forms (1)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
614
if (
ColorDepth
== ColorDepth.Depth32Bit)
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ImageListActionList.cs (1)
24
get => (Component as ImageList)!.
ColorDepth
;
System\Windows\Forms\Design\ImageListDesigner.cs (1)
27
get => ImageList.
ColorDepth
;
System.Windows.Forms.Tests (33)
System\Windows\Forms\ImageListStreamerTests.cs (4)
37
Assert.Equal(imageListBf.
ColorDepth
, imageListMs.
ColorDepth
);
64
Assert.Equal(imageListBf.
ColorDepth
, imageListMs.
ColorDepth
);
System\Windows\Forms\ImageListTests.cs (29)
17
Assert.Equal(ColorDepth.Depth32Bit, list.
ColorDepth
);
35
Assert.Equal(ColorDepth.Depth32Bit, list.
ColorDepth
);
62
Assert.Equal(value, list.
ColorDepth
);
67
Assert.Equal(value, list.
ColorDepth
);
80
Assert.Equal(ColorDepth.Depth24Bit, list.
ColorDepth
);
86
Assert.Equal(ColorDepth.Depth24Bit, list.
ColorDepth
);
92
Assert.Equal(ColorDepth.Depth16Bit, list.
ColorDepth
);
99
Assert.Equal(ColorDepth.Depth24Bit, list.
ColorDepth
);
112
Assert.Equal(value, list.
ColorDepth
);
117
Assert.Equal(value, list.
ColorDepth
);
137
Assert.Equal(ColorDepth.Depth24Bit, list.
ColorDepth
);
144
Assert.Equal(ColorDepth.Depth24Bit, list.
ColorDepth
);
151
Assert.Equal(ColorDepth.Depth16Bit, list.
ColorDepth
);
160
Assert.Equal(ColorDepth.Depth24Bit, list.
ColorDepth
);
169
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ImageList))[nameof(ImageList.
ColorDepth
)];
171
Assert.Equal(ColorDepth.Depth32Bit, list.
ColorDepth
);
175
Assert.Equal(ColorDepth.Depth8Bit, list.
ColorDepth
);
179
Assert.Equal(ColorDepth.Depth32Bit, list.
ColorDepth
);
186
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ImageList))[nameof(ImageList.
ColorDepth
)];
188
Assert.Equal(ColorDepth.Depth32Bit, list.
ColorDepth
);
192
Assert.Equal(ColorDepth.Depth8Bit, list.
ColorDepth
);
196
Assert.Equal(ColorDepth.Depth32Bit, list.
ColorDepth
);
472
Assert.Equal(colorDepth, list.
ColorDepth
);
481
Assert.Equal(colorDepth, list.
ColorDepth
);
509
Assert.Equal(ColorDepth.Depth32Bit, list.
ColorDepth
);
534
Assert.Equal(ColorDepth.Depth32Bit, list.
ColorDepth
);
559
Assert.Equal(ColorDepth.Depth32Bit, list.
ColorDepth
);
583
Assert.Equal(ColorDepth.Depth32Bit, list.
ColorDepth
);
607
Assert.Equal(ColorDepth.Depth32Bit, list.
ColorDepth
);