16 writes to TextImageRelation
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
431set => base.TextImageRelation = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
530menuItem.TextImageRelation = TextImageRelation;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
232set => base.TextImageRelation = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
235_splitButtonButton.TextImageRelation = TextImageRelation;
System.Windows.Forms.Tests (12)
System\Windows\Forms\ToolStripItemTests.cs (11)
8823TextImageRelation = value 8828item.TextImageRelation = value; 8858item.TextImageRelation = value; 8864item.TextImageRelation = value; 8908item.TextImageRelation = value; 8917item.TextImageRelation = value; 8946item.TextImageRelation = value; 8952item.TextImageRelation = value; 8985item.TextImageRelation = value; 8994item.TextImageRelation = value; 9017Assert.Throws<InvalidEnumArgumentException>("value", () => item.TextImageRelation = value);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
305TextImageRelation = TextImageRelation.ImageAboveText,
32 references to TextImageRelation
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
430get => base.TextImageRelation;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1940if (value != TextImageRelation)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (1)
120layoutOptions.TextImageRelation = Owner.TextImageRelation;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
530menuItem.TextImageRelation = TextImageRelation;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
231get => base.TextImageRelation;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
235_splitButtonButton.TextImageRelation = TextImageRelation;
System.Windows.Forms.Tests (26)
System\Windows\Forms\ToolStripButtonTests.cs (6)
88Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 169Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 256Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 346Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 434Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 532Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
88Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 177Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 276Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 384Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation);
System\Windows\Forms\ToolStripItemTests.cs (13)
87Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 172Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 267Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 8825Assert.Equal(value, item.TextImageRelation); 8829Assert.Equal(value, item.TextImageRelation); 8859Assert.Equal(value, item.TextImageRelation); 8865Assert.Equal(value, item.TextImageRelation); 8909Assert.Equal(value, item.TextImageRelation); 8918Assert.Equal(value, item.TextImageRelation); 8947Assert.Equal(value, item.TextImageRelation); 8953Assert.Equal(value, item.TextImageRelation); 8986Assert.Equal(value, item.TextImageRelation); 8995Assert.Equal(value, item.TextImageRelation);
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
97Assert.Equal(TextImageRelation.ImageBeforeText, item.TextImageRelation); 350clone.TextImageRelation.Should().Be(original.TextImageRelation);