3 overrides of Text
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
518
public override string
Text
{
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
311
public override string
Text
{
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
729
public override string
Text
{
16 writes to Text
System.Windows.Forms (16)
winforms\Managed\System\WinForms\BindingNavigator.cs (8)
175
MoveFirstItem.
Text
= SR.GetString(SR.BindingNavigatorMoveFirstItemText);
176
MovePreviousItem.
Text
= SR.GetString(SR.BindingNavigatorMovePreviousItemText);
177
MoveNextItem.
Text
= SR.GetString(SR.BindingNavigatorMoveNextItemText);
178
MoveLastItem.
Text
= SR.GetString(SR.BindingNavigatorMoveLastItemText);
179
AddNewItem.
Text
= SR.GetString(SR.BindingNavigatorAddNewItemText);
180
DeleteItem.
Text
= SR.GetString(SR.BindingNavigatorDeleteItemText);
549
positionItem.
Text
= position.ToString(CultureInfo.CurrentCulture);
554
countItem.
Text
= DesignMode ? CountItemFormat : String.Format(CultureInfo.CurrentCulture, CountItemFormat, count);
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (3)
74
mergeItem.
Text
= mdiMergeItem.Text;
105
windowListItem.
Text
= String.Format(CultureInfo.CurrentCulture, "&{0} {1}", accel, text);
124
moreWindowsMenuItem.
Text
= SR.GetString(SR.MDIMenuMoreWindows);
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
2102
button.
Text
= toolTipText;
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
208
this.
Text
= text;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
137
this.
Text
= textFields[0];
653
menuItem.
Text
= this.Text;
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
316
base.
Text
= value;
44 references to Text
System.Windows.Forms (44)
winforms\Managed\System\WinForms\BindingNavigator.cs (1)
598
newPosition = Convert.ToInt32(positionItem.
Text
, CultureInfo.CurrentCulture) - 1;
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (3)
74
mergeItem.Text = mdiMergeItem.
Text
;
115
Debug.WriteLineIf(ToolStrip.MDIMergeDebug.TraceVerbose,"\tPopulateItems: Added " + windowListItem.
Text
);
125
Debug.WriteLineIf(ToolStrip.MDIMergeDebug.TraceVerbose, "\tPopulateItems: Added " + moreWindowsMenuItem.
Text
);
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
4971
text = toolStrip.Items[index].
Text
;
winforms\Managed\System\WinForms\ToolStrip.cs (8)
2009
Debug.WriteLineIf(SelectionDebug.TraceVerbose,"[SelectDBG ClearAllSelectionsExcept] Unselecting " + DisplayedItems[i].
Text
);
2271
Debug.WriteLineIf(SelectionDebug.TraceVerbose && (current != -1), "[SelectDBG GetNextToolStripItem] Last selected item was " + ((current != -1) ? DisplayedItems[current].
Text
: ""));
2292
Debug.WriteLineIf(SelectionDebug.TraceVerbose, "[SelectDBG GetNextToolStripItem] selecting " + DisplayedItems[current].
Text
);
3057
if (string.IsNullOrEmpty(currentItem.
Text
) || !currentItem.Enabled) {
3068
if (Control.IsMnemonic(charCode,currentItem.
Text
)) {
3107
if (!(currentItem is ToolStripMenuItem) || string.IsNullOrEmpty(currentItem.
Text
) || !currentItem.Enabled) {
3116
if (ToolStrip.IsPseudoMnemonic(charCode,currentItem.
Text
)) {
5513
Debug.WriteLineIf(ToolStrip.DropTargetDebug.TraceVerbose, "MATCH " + owner.DisplayedItems[i].
Text
+ " Bounds: " + owner.DisplayedItems[i].Bounds.ToString());
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
263
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(e.Graphics, this, this.
Text
, InternalLayout.TextRectangle, this.ForeColor, this.Font, InternalLayout.TextFormat));
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
176
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, this.
Text
, InternalLayout.TextRectangle, this.ForeColor, this.Font, InternalLayout.TextFormat));
winforms\Managed\System\WinForms\ToolStripItem.cs (19)
2272
if (value !=
Text
) {
2389
string toolText =
Text
;
2721
if (string.IsNullOrEmpty(
Text
)) {
2725
cachedTextSize = TextRenderer.MeasureText(
Text
, Font);
2802
Debug.WriteLineIf(MouseDebugging.TraceVerbose, "[" + this.
Text
+ "] HandleClick");
2813
Debug.WriteLineIf(MouseDebugging.TraceVerbose, "[" + this.
Text
+ "] HandleItemClick");
2820
Debug.WriteLineIf(MouseDebugging.TraceVerbose, "[" + this.
Text
+ "] HandleItemClicked");
2875
Debug.WriteLineIf(MouseDebugging.TraceVerbose, "[" + this.
Text
+ "] MouseEnter");
2881
Debug.WriteLineIf(MouseDebugging.TraceVerbose, "[" + this.
Text
+ "] MouseMove");
2899
Debug.WriteLineIf(MouseDebugging.TraceVerbose, "[" + this.
Text
+ "] MouseHover");
2915
Debug.WriteLineIf(MouseDebugging.TraceVerbose, "[" + this.
Text
+ "] MouseLeave");
2923
Debug.WriteLineIf(MouseDebugging.TraceVerbose, "[" + this.
Text
+ "] MouseDown");
2937
Debug.WriteLineIf(MouseDebugging.TraceVerbose, "[" + this.
Text
+ "] MouseUp");
3917
if (
Text
!= null && this.
Text
.Length != 0) {
3918
return this.
Text
;
4125
char mnemonic = WindowsFormsUtils.GetMnemonic(ownerItem.
Text
, false);
4209
return WindowsFormsUtils.TextWithoutMnemonics(ownerItem.
Text
);
4704
layoutOptions.text = ((Owner.DisplayStyle & ToolStripItemDisplayStyle.Text) == ToolStripItemDisplayStyle.Text) ? Owner.
Text
: String.Empty;
winforms\Managed\System\WinForms\ToolStripLabel.cs (1)
336
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, this.
Text
, textRect, textColor, font, InternalLayout.TextFormat));
winforms\Managed\System\WinForms\ToolStripManager.cs (3)
1836
if (WindowsFormsUtils.SafeCompareStrings(source.
Text
, candidateItem.
Text
, true)) {
2288
return "MergeAction: " + mergeAction.ToString() + " | TargetItem: " + (TargetItem == null ? "null" : TargetItem.
Text
) + " Index: " + index.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
653
menuItem.Text = this.
Text
;
1100
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, this.
Text
, InternalLayout.TextRectangle, textColor, this.Font, (rightToLeft) ? ContentAlignment.MiddleRight : ContentAlignment.MiddleLeft));
1129
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, this.
Text
, InternalLayout.TextRectangle, textColor, this.Font, InternalLayout.TextFormat));
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
313
return base.
Text
;
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (2)
301
splitButtonButton.Text = this.
Text
;
732
return owner.
Text
;