Base:
property
Text
System.Windows.Forms.Control.Text
1 override of Text
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
328public override string Text
86 writes to Text
Microsoft.VisualBasic.Forms (2)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (1)
86Label.Text = prompt
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
85LabelInfo.Text = Value
PresentationUI (33)
MS\Internal\Documents\CredentialManagerDialog.cs (1)
157_instructionLabel.Text = SR.RMCredManagementInstruction;
MS\Internal\Documents\RequestedSignatureDialog.cs (4)
127_requestSignerNameLabel.Text = SR.RequestSignatureDialogRequestSignerNameLabel; 128_intentLabel.Text = SR.RequestSignatureDialogIntentLabel; 129_requestLocationLabel.Text = SR.RequestSignatureDialogLocationLabel; 130_signatureAppliedByDateLabel.Text = SR.RequestSignatureDialogSignatureAppliedByDateLabel;
MS\Internal\Documents\RMEnrollmentPage1.cs (5)
48_label1.Text = SR.RMEnrollmentPage1a; 49_label2.Text = SR.RMEnrollmentPage1b; 50_label3.Text = SR.RMEnrollmentPage1c; 51_privacyLabel.Text = SR.RMEnrollmentPage1d; 52_instructionlabel.Text = SR.RMEnrollmentPage1e;
MS\Internal\Documents\RMEnrollmentPage2.cs (2)
85this._label1.Text = SR.RMEnrollmentPage2a; 86this._label2.Text = SR.RMEnrollmentPage2b;
MS\Internal\Documents\RMEnrollmentPage3.cs (2)
38this.label2.Text = SR.RMEnrollmentPage3b; 39this.label3.Text = SR.RMEnrollmentPage3c;
MS\Internal\Documents\RMPermissions.cs (7)
29authenticatedAsLabel.Text = userLicense.LicensedUser.Name; 30expiresOnLabel.Text = GetUtcDateAsString(userLicense.ValidUntil); 185Text = permission, 219authenticatedAsTextLabel.Text = SR.RMPermissionsAuthenticatedAs; 220permissionsHeldLabel.Text = SR.RMPermissionsHavePermissions; 221requestFromTextLabel.Text = SR.RMPermissionsRequestFrom; 223expiresOnTextLabel.Text = SR.RMPermissionsExpiresOn;
MS\Internal\Documents\RMPublishingDialog.cs (1)
905labelSelectTemplate.Text = SR.RMPublishingSelectTemplate;
MS\Internal\Documents\SignatureSummaryDialog.cs (6)
235Text = SR.DigSigSumColumnHeaderName, 246Text = SR.DigSigSumColumnHeaderIntent, 257Text = SR.DigSigSumColumnHeaderLocale, 268Text = SR.DigSigSumColumnHeaderSignBy, 287Text = SR.DigSigSumColumnHeaderSignatureStatus, 298Text = SR.DigSigSumColumnHeaderIntent,
MS\Internal\Documents\SigningDialog.cs (4)
168_signerlabel.Text = String.Format(CultureInfo.CurrentCulture, 234_reasonLabel.Text = SR.SigningDialogReasonLabel; 235_locationLabel.Text = SR.SigningDialogLocationLabel; 236_actionlabel.Text = SR.SigningDialogActionlabel;
MS\Internal\Documents\SigningProgress.cs (1)
29_label.Text = message;
System.Windows.Forms (8)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
331set => base.Text = value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
39set => _messageLabel.Text = value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (3)
114_descriptionLabel.Text = _fullDescription; 193_titleLabel.Text = title; 199_descriptionLabel.Text = _fullDescription;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
267_message.Text = messageText;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.BackgroundThread.cs (1)
90_dialog!._messageLabel.Text = string.Format(
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
87_messageLabel.Text = SR.PrintControllerWithStatusDialog_Canceling;
System.Windows.Forms.Design (43)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (5)
878_propertiesLabel.Text = string.Format(SR.CollectionEditorProperties, GetDisplayText((ListItem?)_listBox.SelectedItem)); 1069_propertiesLabel.Text = string.Format(SR.CollectionEditorProperties, GetDisplayText((ListItem)_listBox.SelectedItem)); 1073_propertiesLabel.Text = SR.CollectionEditorPropertiesMultiSelect; 1083_propertiesLabel.Text = SR.CollectionEditorInheritedReadOnlySelection; 1093_propertiesLabel.Text = SR.CollectionEditorPropertiesNone;
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (2)
114_titleLabel.Text = _panelHeaderItem.DisplayName; 116_subtitleLabel.Text = _panelHeaderItem.Subtitle;
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
127_label.Text = StripAmpersands(PropertyItem!.DisplayName);
System\ComponentModel\Design\DesignerActionPanel.TextLine.cs (1)
67_label.Text = StripAmpersands(_textItem.DisplayName);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (6)
884_propertyGridLabel.Text = string.Format(SR.DataGridViewProperties); 926_propertyGridLabel.Text = (SR.DataGridViewUnboundColumnProperties); 930_propertyGridLabel.Text = (SR.DataGridViewBoundColumnProperties); 1072_propertyGridLabel.Text = (SR.DataGridViewUnboundColumnProperties); 1076_propertyGridLabel.Text = (SR.DataGridViewBoundColumnProperties); 1081_propertyGridLabel.Text = (SR.DataGridViewProperties);
System\Windows\Forms\Design\DesignBindingPicker.cs (8)
1593_helpTextCtrl.Text = mouseNodeErrorText; 1598_helpTextCtrl.Text = mouseNodeHelpText; 1603_helpTextCtrl.Text = string.Format(CultureInfo.CurrentCulture, (SR.DesignBindingPickerHelpGenCurrentBinding), _selectedNode.Text); 1608_helpTextCtrl.Text = (_treeViewCtrl?.Nodes.Count > 1) ? (SR.DesignBindingPickerHelpGenPickMember) : ""; 1613_helpTextCtrl.Text = (SR.DesignBindingPickerHelpGenPickBindSrc); 1618_helpTextCtrl.Text = (SR.DesignBindingPickerHelpGenPickDataSrc); 1623_helpTextCtrl.Text = (SR.DesignBindingPickerHelpGenAddDataSrc); 1628_helpTextCtrl.Text = "";
System\Windows\Forms\Design\FormatControl.cs (14)
94sampleLabel.Text = customFormatType.SampleString; 103sampleLabel.Text = item.SampleString; 112sampleLabel.Text = item.SampleString; 125sampleLabel.Text = item.SampleString; 126explanationLabel.Text = item.TopLabelString; 247secondRowLabel.Text = string.Empty; 252secondRowLabel.Text = SR.BindingFormattingDialogDecimalPlaces; 263secondRowLabel.Text = SR.BindingFormattingDialogCustomFormat; 284secondRowLabel.Text = SR.BindingFormattingDialogType; 372nullValueLabel.Text = SR.BindingFormattingDialogNullValue; 376secondRowLabel.Text = SR.BindingFormattingDialogDecimalPlaces; 380secondRowLabel.Text = SR.BindingFormattingDialogCustomFormat; 408sampleLabel.Text = item.SampleString; 410explanationLabel.Text = item.TopLabelString;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (3)
888label?.Text = className + itemName; 909label?.Text = SR.ToolStripItemCollectionEditorLabelNone; 916label?.Text = SR.ToolStripItemCollectionEditorLabelMultipleItems;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (3)
451_label2.Text = string.Format(SR.CollectionEditorProperties, _treeView1.SelectedNode.Text); 488_label2.Text = string.Format(SR.CollectionEditorProperties, node.Name.ToString()); 494_label2.Text = string.Format(SR.CollectionEditorPropertiesNone);
32 references to Text
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
82Return LabelInfo.Text
System.Windows.Forms (21)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
361string text = previousLabel.Text;
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (1)
36mnemonic = WindowsFormsUtils.GetMnemonic(previousLabel.Text, convertToUpperCase: false);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (1)
28char previousLabelMnemonic = WindowsFormsUtils.GetMnemonic(previousLabel.Text, convertToUpperCase: false);
System\Windows\Forms\Controls\Labels\Label.cs (14)
21[DefaultProperty(nameof(Text))] 22[DefaultBindingProperty(nameof(Text))] 927if (!MeasureTextCache.TextRequiresWordBreak(Text, Font, constrainingSize, flags)) 1060if (string.IsNullOrEmpty(Text)) 1073requiredSize = MeasureTextCache.GetTextSize(Text, Font, proposedConstraints, format); 1084requiredSize = Size.Ceiling(screen.Graphics.MeasureString(Text, Font, bounds, stringFormat)); 1153_textToolTip.Show(WindowsFormsUtils.TextWithoutMnemonics(Text), this); 1229using var textVariant = (VARIANT)Text; 1284e.GraphicsInternal.DrawString(Text, Font, brush, face, stringFormat); 1288ControlPaint.DrawStringDisabled(e.GraphicsInternal, Text, Font, color, face, stringFormat); 1297TextRenderer.DrawTextInternal(e, Text, Font, face, color, flags: flags); 1305TextRenderer.DrawTextInternal(e, Text, Font, face, disabledTextForeColor, flags: flags); 1360if (UseMnemonic && IsMnemonic(charCode, Text) && CanProcessMnemonic()) 1423public override string ToString() => $"{base.ToString()}, Text: {Text}";
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
330get => base.Text;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
92SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText(OwnerPropertyGrid, g, _titleLabel.Text, Font, width); 191if (_descriptionLabel.Text != title)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (1)
197|| (hostedControl is Label label && string.IsNullOrEmpty(label.Text));
System.Windows.Forms.Design (10)
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (1)
118_subtitleLabel.Visible = (_subtitleLabel.Text.Length != 0);
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (2)
78if (string.IsNullOrEmpty(_label.Text)) 298if (!string.IsNullOrEmpty(_label.Text))
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1859TextRenderer.DrawText(e.Graphics, Text, Font, rect, ForeColor, formatFlags);
System\Windows\Forms\Design\FormatControl.cs (6)
163if (IsMnemonic(charCode, formatTypeLabel.Text)) 169if (IsMnemonic(charCode, nullValueLabel.Text)) 186if (IsMnemonic(charCode, secondRowLabel.Text)) 198if (IsMnemonic(charCode, secondRowLabel.Text)) 210if (IsMnemonic(charCode, secondRowLabel.Text)) 301secondRowLabel.Visible = secondRowLabel.Text.Length > 0;