17 writes to ImageIndex
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
523button.ImageIndex = 0;
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
411ImageIndex = ImageList.Indexer.DefaultIndex;
System.Windows.Forms.Tests (15)
System\Windows\Forms\ButtonBaseTests.cs (15)
1421ImageIndex = 1 2061ImageIndex = value 2068control.ImageIndex = value; 2084control.ImageIndex = -1; 2091control.ImageIndex = 0; 2107ImageIndex = value 2114control.ImageIndex = value; 2132control.ImageIndex = value; 2138control.ImageIndex = value; 2161control.ImageIndex = value; 2167control.ImageIndex = value; 2188control.ImageIndex = value; 2197control.ImageIndex = value; 2211Assert.Throws<ArgumentOutOfRangeException>("value", () => control.ImageIndex = value); 2257ImageIndex = 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)
75Assert.Equal(-1, control.ImageIndex); 1427Assert.Equal(1, control.ImageIndex); 1435Assert.Equal(-1, control.ImageIndex); 1451Assert.Equal(ImageList.Indexer.DefaultIndex, control.ImageIndex); 1459Assert.Equal(ImageList.Indexer.DefaultIndex, control.ImageIndex); 1476Assert.Equal(-1, control.ImageIndex); 1485Assert.Equal(-1, control.ImageIndex); 2063Assert.Equal(value, control.ImageIndex); 2069Assert.Equal(value, control.ImageIndex); 2086Assert.Equal(-1, control.ImageIndex); 2093Assert.Equal(0, control.ImageIndex); 2109Assert.Equal(value, control.ImageIndex); 2115Assert.Equal(value, control.ImageIndex); 2133Assert.Equal(-1, control.ImageIndex); 2139Assert.Equal(-1, control.ImageIndex); 2162Assert.Equal(expected, control.ImageIndex); 2168Assert.Equal(expected, control.ImageIndex); 2189Assert.Equal(value, control.ImageIndex); 2198Assert.Equal(value, control.ImageIndex); 2223Assert.Equal(-1, control.ImageIndex); 2229Assert.Equal(-1, control.ImageIndex); 2244Assert.Equal(ImageList.Indexer.DefaultIndex, control.ImageIndex); 2261Assert.Equal(ImageList.Indexer.DefaultIndex, control.ImageIndex); 2267Assert.Equal(ImageList.Indexer.DefaultIndex, control.ImageIndex); 2283Assert.Equal(-1, control.ImageIndex); 2289Assert.Equal(-1, control.ImageIndex); 2314Assert.Equal(-1, control.ImageIndex); 2320Assert.Equal(-1, control.ImageIndex); 2341Assert.Equal(-1, control.ImageIndex); 2350Assert.Equal(-1, control.ImageIndex);
System\Windows\Forms\ButtonTests.cs (1)
78Assert.Equal(-1, control.ImageIndex);
System\Windows\Forms\CheckBoxTests.cs (1)
79Assert.Equal(-1, control.ImageIndex);
System\Windows\Forms\RadioButtonTests.cs (1)
78Assert.Equal(-1, control.ImageIndex);