8 writes to DisplayStyle
System.Windows.Forms.Tests (8)
System\Windows\Forms\ToolStripControlHostTests.cs (8)
765
DisplayStyle
= value
771
item.
DisplayStyle
= value;
791
item.
DisplayStyle
= ToolStripItemDisplayStyle.Text;
796
item.
DisplayStyle
= ToolStripItemDisplayStyle.Text;
801
item.
DisplayStyle
= ToolStripItemDisplayStyle.None;
807
item.
DisplayStyle
= ToolStripItemDisplayStyle.Text;
817
Assert.Throws<InvalidEnumArgumentException>("value", () => item.
DisplayStyle
= value);
969
DisplayStyle
= displayStyle
6 references to DisplayStyle
System.Windows.Forms.Tests (6)
System\Windows\Forms\ToolStripControlHostTests.cs (6)
78
Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.
DisplayStyle
);
767
Assert.Equal(value, item.
DisplayStyle
);
772
Assert.Equal(value, item.
DisplayStyle
);
792
Assert.Equal(ToolStripItemDisplayStyle.Text, item.
DisplayStyle
);
797
Assert.Equal(ToolStripItemDisplayStyle.Text, item.
DisplayStyle
);
802
Assert.Equal(ToolStripItemDisplayStyle.None, item.
DisplayStyle
);