48 references to ImageAndText
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
50private ToolStripItemDisplayStyle _displayStyle = ToolStripItemDisplayStyle.ImageAndText; 685protected virtual ToolStripItemDisplayStyle DefaultDisplayStyle => ToolStripItemDisplayStyle.ImageAndText;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
157_imageTextStyleToolStripMenuItem = CreateEnumValueItem("DisplayStyle", "ImageAndText", ToolStripItemDisplayStyle.ImageAndText); 631_imageTextStyleToolStripMenuItem.Checked = currentDisplayStyleValue == ToolStripItemDisplayStyle.ImageAndText;
System.Windows.Forms.Tests (43)
System\Windows\Forms\ToolStripButtonTests.cs (13)
42Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 48Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 123Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 129Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 210Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 216Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 300Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 306Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 388Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 394Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 486Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 492Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 1227yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.No, ToolStripItemDisplayStyle.ImageAndText, 1, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripControlHostTests.cs (2)
72Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 78Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle);
System\Windows\Forms\ToolStripDropDownItemTests.cs (8)
38Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 44Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 127Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 133Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 226Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 232Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 326Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 332Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle);
System\Windows\Forms\ToolStripItemTests.cs (16)
41Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 47Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 126Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 132Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 221Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 227Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 2130[InlineData(ToolStripItemDisplayStyle.ImageAndText, 0)] 2171[InlineData(ToolStripItemDisplayStyle.ImageAndText, 0)] 2338Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 2354Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 2998yield return new object[] { ToolStripItemDisplayStyle.ImageAndText, new Font("Arial", 8.25f), 1 }; 11353yield return new object[] { ToolStripItemDisplayStyle.ImageAndText, null, 1 }; 11354yield return new object[] { ToolStripItemDisplayStyle.ImageAndText, new EventArgs(), 1 }; 14102Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 14107Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle); 14111Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle);
System\Windows\Forms\ToolStripMenuItemTests.cs (2)
39Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 45Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle);
System\Windows\Forms\ToolStripSeparatorTests.cs (2)
39Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DefaultDisplayStyle); 45Assert.Equal(ToolStripItemDisplayStyle.ImageAndText, item.DisplayStyle);
WinFormsControlsTest (1)
ToolStripTests.cs (1)
21toolStrip2_Button4.DisplayStyle = ToolStripItemDisplayStyle.ImageAndText;