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