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