17 writes to ImageIndex
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
523
button.
ImageIndex
= 0;
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
411
ImageIndex
= ImageList.Indexer.DefaultIndex;
System.Windows.Forms.Tests (15)
System\Windows\Forms\ButtonBaseTests.cs (15)
1421
ImageIndex
= 1
2061
ImageIndex
= value
2068
control.
ImageIndex
= value;
2084
control.
ImageIndex
= -1;
2091
control.
ImageIndex
= 0;
2107
ImageIndex
= value
2114
control.
ImageIndex
= value;
2132
control.
ImageIndex
= value;
2138
control.
ImageIndex
= value;
2161
control.
ImageIndex
= value;
2167
control.
ImageIndex
= value;
2188
control.
ImageIndex
= value;
2197
control.
ImageIndex
= value;
2211
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.
ImageIndex
= value);
2257
ImageIndex
= 0,
36 references to ImageIndex
System.Windows.Forms (3)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (3)
489
/// <see cref="ImageKey"/> and <see cref="
ImageIndex
"/> are mutually exclusive, meaning if one is set, the other
491
/// <see cref="
ImageIndex
"/> property is automatically set to -1. Alternatively, if you set the
492
/// <see cref="
ImageIndex
"/> property, the <see cref="ImageKey"/> is automatically set to an empty string ("").
System.Windows.Forms.Tests (33)
System\Windows\Forms\ButtonBaseTests.cs (30)
75
Assert.Equal(-1, control.
ImageIndex
);
1427
Assert.Equal(1, control.
ImageIndex
);
1435
Assert.Equal(-1, control.
ImageIndex
);
1451
Assert.Equal(ImageList.Indexer.DefaultIndex, control.
ImageIndex
);
1459
Assert.Equal(ImageList.Indexer.DefaultIndex, control.
ImageIndex
);
1476
Assert.Equal(-1, control.
ImageIndex
);
1485
Assert.Equal(-1, control.
ImageIndex
);
2063
Assert.Equal(value, control.
ImageIndex
);
2069
Assert.Equal(value, control.
ImageIndex
);
2086
Assert.Equal(-1, control.
ImageIndex
);
2093
Assert.Equal(0, control.
ImageIndex
);
2109
Assert.Equal(value, control.
ImageIndex
);
2115
Assert.Equal(value, control.
ImageIndex
);
2133
Assert.Equal(-1, control.
ImageIndex
);
2139
Assert.Equal(-1, control.
ImageIndex
);
2162
Assert.Equal(expected, control.
ImageIndex
);
2168
Assert.Equal(expected, control.
ImageIndex
);
2189
Assert.Equal(value, control.
ImageIndex
);
2198
Assert.Equal(value, control.
ImageIndex
);
2223
Assert.Equal(-1, control.
ImageIndex
);
2229
Assert.Equal(-1, control.
ImageIndex
);
2244
Assert.Equal(ImageList.Indexer.DefaultIndex, control.
ImageIndex
);
2261
Assert.Equal(ImageList.Indexer.DefaultIndex, control.
ImageIndex
);
2267
Assert.Equal(ImageList.Indexer.DefaultIndex, control.
ImageIndex
);
2283
Assert.Equal(-1, control.
ImageIndex
);
2289
Assert.Equal(-1, control.
ImageIndex
);
2314
Assert.Equal(-1, control.
ImageIndex
);
2320
Assert.Equal(-1, control.
ImageIndex
);
2341
Assert.Equal(-1, control.
ImageIndex
);
2350
Assert.Equal(-1, control.
ImageIndex
);
System\Windows\Forms\ButtonTests.cs (1)
78
Assert.Equal(-1, control.
ImageIndex
);
System\Windows\Forms\CheckBoxTests.cs (1)
79
Assert.Equal(-1, control.
ImageIndex
);
System\Windows\Forms\RadioButtonTests.cs (1)
78
Assert.Equal(-1, control.
ImageIndex
);