89 references to Text
Accessibility_Core_App (6)
Menu_Toolbars_controls.Designer.cs (6)
527toolStripButton1.DisplayStyle = ToolStripItemDisplayStyle.Text; 537toolStripButton2.DisplayStyle = ToolStripItemDisplayStyle.Text; 549toolStripButton3.DisplayStyle = ToolStripItemDisplayStyle.Text; 560toolStripButton4.DisplayStyle = ToolStripItemDisplayStyle.Text; 572toolStripButton5.DisplayStyle = ToolStripItemDisplayStyle.Text; 583toolStripButton6.DisplayStyle = ToolStripItemDisplayStyle.Text;
System.Windows.Forms (24)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (6)
2546if (((DisplayedItems[j].DisplayStyle & ToolStripItemDisplayStyle.Text) == ToolStripItemDisplayStyle.Text)) 2901if ((currentItem.DisplayStyle & ToolStripItemDisplayStyle.Text) != ToolStripItemDisplayStyle.Text) 2965if ((currentItem.DisplayStyle & ToolStripItemDisplayStyle.Text) != ToolStripItemDisplayStyle.Text)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (2)
219if ((DisplayStyle & ToolStripItemDisplayStyle.Text) == ToolStripItemDisplayStyle.Text)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (2)
191if ((DisplayStyle & ToolStripItemDisplayStyle.Text) == ToolStripItemDisplayStyle.Text)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
2821if ((DisplayStyle & ToolStripItemDisplayStyle.Text) == ToolStripItemDisplayStyle.Text)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (2)
110layoutOptions.Text = ((Owner.DisplayStyle & ToolStripItemDisplayStyle.Text) == ToolStripItemDisplayStyle.Text) ? Owner.Text : string.Empty;
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (2)
353if ((DisplayStyle & ToolStripItemDisplayStyle.Text) == ToolStripItemDisplayStyle.Text)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (4)
991if ((DisplayStyle & ToolStripItemDisplayStyle.Text) == ToolStripItemDisplayStyle.Text) 1023if ((DisplayStyle & ToolStripItemDisplayStyle.Text) == ToolStripItemDisplayStyle.Text)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
526if ((DisplayStyle & ToolStripItemDisplayStyle.Text) != ToolStripItemDisplayStyle.None)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.ToolStripSplitButtonButton.cs (2)
107if ((_owner.DisplayStyle & ToolStripItemDisplayStyle.Text) == ToolStripItemDisplayStyle.Text)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
893_closeToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Text;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
155_textStyleToolStripMenuItem = CreateEnumValueItem("DisplayStyle", "Text", ToolStripItemDisplayStyle.Text); 629_textStyleToolStripMenuItem.Checked = currentDisplayStyleValue == ToolStripItemDisplayStyle.Text;
System.Windows.Forms.Tests (54)
System\Windows\Forms\ToolStripButtonTests.cs (27)
1229yield return new object[] { ContentAlignment.TopLeft, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Top | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft }; 1230yield return new object[] { ContentAlignment.TopLeft, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Top | TextFormatFlags.HidePrefix }; 1231yield return new object[] { ContentAlignment.TopLeft, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Top | TextFormatFlags.HidePrefix }; 1232yield return new object[] { ContentAlignment.TopCenter, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Top | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft }; 1233yield return new object[] { ContentAlignment.TopCenter, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Top | TextFormatFlags.HidePrefix }; 1234yield return new object[] { ContentAlignment.TopCenter, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Top | TextFormatFlags.HidePrefix }; 1235yield return new object[] { ContentAlignment.TopRight, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft }; 1236yield return new object[] { ContentAlignment.TopRight, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix }; 1237yield return new object[] { ContentAlignment.TopRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Top | TextFormatFlags.HidePrefix }; 1239yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft }; 1240yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1241yield return new object[] { ContentAlignment.MiddleLeft, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1242yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft }; 1243yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1244yield return new object[] { ContentAlignment.MiddleCenter, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1245yield return new object[] { ContentAlignment.MiddleRight, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft }; 1246yield return new object[] { ContentAlignment.MiddleRight, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1247yield return new object[] { ContentAlignment.MiddleRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix }; 1249yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft }; 1250yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix }; 1251yield return new object[] { ContentAlignment.BottomLeft, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Left | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix }; 1252yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft }; 1253yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix }; 1254yield return new object[] { ContentAlignment.BottomCenter, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix }; 1255yield return new object[] { ContentAlignment.BottomRight, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft }; 1256yield return new object[] { ContentAlignment.BottomRight, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix }; 1257yield return new object[] { ContentAlignment.BottomRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.Right | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripControlHostTests.cs (5)
791item.DisplayStyle = ToolStripItemDisplayStyle.Text; 792Assert.Equal(ToolStripItemDisplayStyle.Text, item.DisplayStyle); 796item.DisplayStyle = ToolStripItemDisplayStyle.Text; 797Assert.Equal(ToolStripItemDisplayStyle.Text, item.DisplayStyle); 807item.DisplayStyle = ToolStripItemDisplayStyle.Text;
System\Windows\Forms\ToolStripItemTests.cs (17)
2103Assert.Equal(ToolStripItemDisplayStyle.Text, item.DisplayStyle); 2108protected override ToolStripItemDisplayStyle DefaultDisplayStyle => ToolStripItemDisplayStyle.Text; 2128[InlineData(ToolStripItemDisplayStyle.Text, 1)] 2169[InlineData(ToolStripItemDisplayStyle.Text, 1)] 2298item.DisplayStyle = ToolStripItemDisplayStyle.Text; 2299Assert.Equal(ToolStripItemDisplayStyle.Text, item.DisplayStyle); 2303item.DisplayStyle = ToolStripItemDisplayStyle.Text; 2304Assert.Equal(ToolStripItemDisplayStyle.Text, item.DisplayStyle); 2314item.DisplayStyle = ToolStripItemDisplayStyle.Text; 2333item.DisplayStyle = ToolStripItemDisplayStyle.Text; 2334Assert.Equal(ToolStripItemDisplayStyle.Text, item.DisplayStyle); 2349item.DisplayStyle = ToolStripItemDisplayStyle.Text; 2350Assert.Equal(ToolStripItemDisplayStyle.Text, item.DisplayStyle); 2996yield return new object[] { ToolStripItemDisplayStyle.Text, new Font("Arial", 8.25f), 1 }; 11368yield return new object[] { ToolStripItemDisplayStyle.Text, null, 1 }; 11369yield return new object[] { ToolStripItemDisplayStyle.Text, new EventArgs(), 1 }; 14124item.DisplayStyle = ToolStripItemDisplayStyle.Text;
System\Windows\Forms\ToolStripSeparatorTests.cs (5)
197item.DisplayStyle = ToolStripItemDisplayStyle.Text; 198Assert.Equal(ToolStripItemDisplayStyle.Text, item.DisplayStyle); 202item.DisplayStyle = ToolStripItemDisplayStyle.Text; 203Assert.Equal(ToolStripItemDisplayStyle.Text, item.DisplayStyle); 213item.DisplayStyle = ToolStripItemDisplayStyle.Text;
WinFormsControlsTest (3)
ToolStripTests.Designer.cs (3)
171this.toolStrip2_Button1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; 287this.toolStrip2_SplitButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; 348this.toolStrip2_SplitButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;