Base:
property
Text
System.Windows.Forms.Control.Text
1 override of Text
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
336
public override string
Text
84 writes to Text
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)
85
this._label1.
Text
= SR.RMEnrollmentPage2a;
86
this._label2.
Text
= SR.RMEnrollmentPage2b;
MS\Internal\Documents\RMEnrollmentPage3.cs (2)
38
this.label2.
Text
= SR.RMEnrollmentPage3b;
39
this.label3.
Text
= SR.RMEnrollmentPage3c;
MS\Internal\Documents\RMPermissions.cs (7)
29
authenticatedAsLabel.
Text
= userLicense.LicensedUser.Name;
30
expiresOnLabel.
Text
= GetUtcDateAsString(userLicense.ValidUntil);
185
Text
= permission,
219
authenticatedAsTextLabel.
Text
= SR.RMPermissionsAuthenticatedAs;
220
permissionsHeldLabel.
Text
= SR.RMPermissionsHavePermissions;
221
requestFromTextLabel.
Text
= SR.RMPermissionsRequestFrom;
223
expiresOnTextLabel.
Text
= SR.RMPermissionsExpiresOn;
MS\Internal\Documents\RMPublishingDialog.cs (1)
905
labelSelectTemplate.
Text
= SR.RMPublishingSelectTemplate;
MS\Internal\Documents\SignatureSummaryDialog.cs (6)
235
Text
= SR.DigSigSumColumnHeaderName,
246
Text
= SR.DigSigSumColumnHeaderIntent,
257
Text
= SR.DigSigSumColumnHeaderLocale,
268
Text
= SR.DigSigSumColumnHeaderSignBy,
287
Text
= SR.DigSigSumColumnHeaderSignatureStatus,
298
Text
= 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)
339
set => base.
Text
= value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
39
set => _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)
881
_propertiesLabel.
Text
= string.Format(SR.CollectionEditorProperties, GetDisplayText((ListItem?)_listBox.SelectedItem));
1072
_propertiesLabel.
Text
= string.Format(SR.CollectionEditorProperties, GetDisplayText((ListItem)_listBox.SelectedItem));
1076
_propertiesLabel.
Text
= SR.CollectionEditorPropertiesMultiSelect;
1086
_propertiesLabel.
Text
= SR.CollectionEditorInheritedReadOnlySelection;
1096
_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)
1595
_helpTextCtrl.
Text
= mouseNodeErrorText;
1600
_helpTextCtrl.
Text
= mouseNodeHelpText;
1605
_helpTextCtrl.
Text
= string.Format(CultureInfo.CurrentCulture, (SR.DesignBindingPickerHelpGenCurrentBinding), _selectedNode.Text);
1610
_helpTextCtrl.
Text
= (_treeViewCtrl?.Nodes.Count > 1) ? (SR.DesignBindingPickerHelpGenPickMember) : "";
1615
_helpTextCtrl.
Text
= (SR.DesignBindingPickerHelpGenPickBindSrc);
1620
_helpTextCtrl.
Text
= (SR.DesignBindingPickerHelpGenPickDataSrc);
1625
_helpTextCtrl.
Text
= (SR.DesignBindingPickerHelpGenAddDataSrc);
1630
_helpTextCtrl.
Text
= "";
System\Windows\Forms\Design\FormatControl.cs (14)
94
sampleLabel.
Text
= customFormatType.SampleString;
103
sampleLabel.
Text
= item.SampleString;
112
sampleLabel.
Text
= item.SampleString;
125
sampleLabel.
Text
= item.SampleString;
126
explanationLabel.
Text
= item.TopLabelString;
247
secondRowLabel.
Text
= string.Empty;
252
secondRowLabel.
Text
= SR.BindingFormattingDialogDecimalPlaces;
263
secondRowLabel.
Text
= SR.BindingFormattingDialogCustomFormat;
284
secondRowLabel.
Text
= SR.BindingFormattingDialogType;
372
nullValueLabel.
Text
= SR.BindingFormattingDialogNullValue;
376
secondRowLabel.
Text
= SR.BindingFormattingDialogDecimalPlaces;
380
secondRowLabel.
Text
= SR.BindingFormattingDialogCustomFormat;
408
sampleLabel.
Text
= item.SampleString;
410
explanationLabel.
Text
= item.TopLabelString;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (3)
888
label?.
Text
= className + itemName;
909
label?.
Text
= SR.ToolStripItemCollectionEditorLabelNone;
916
label?.
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);
31 references to Text
System.Windows.Forms (21)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
361
string text = previousLabel.
Text
;
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (1)
36
mnemonic = WindowsFormsUtils.GetMnemonic(previousLabel.
Text
, convertToUpperCase: false);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (1)
28
char previousLabelMnemonic = WindowsFormsUtils.GetMnemonic(previousLabel.
Text
, convertToUpperCase: false);
System\Windows\Forms\Controls\Labels\Label.cs (14)
21
[DefaultProperty(nameof(
Text
))]
22
[DefaultBindingProperty(nameof(
Text
))]
927
if (!MeasureTextCache.TextRequiresWordBreak(
Text
, Font, constrainingSize, flags))
1060
if (string.IsNullOrEmpty(
Text
))
1073
requiredSize = MeasureTextCache.GetTextSize(
Text
, Font, proposedConstraints, format);
1084
requiredSize = Size.Ceiling(screen.Graphics.MeasureString(
Text
, Font, bounds, stringFormat));
1153
_textToolTip.Show(WindowsFormsUtils.TextWithoutMnemonics(
Text
), this);
1229
using var textVariant = (VARIANT)
Text
;
1284
e.GraphicsInternal.DrawString(
Text
, Font, brush, face, stringFormat);
1288
ControlPaint.DrawStringDisabled(e.GraphicsInternal,
Text
, Font, color, face, stringFormat);
1297
TextRenderer.DrawTextInternal(e,
Text
, Font, face, color, flags: flags);
1305
TextRenderer.DrawTextInternal(e,
Text
, Font, face, disabledTextForeColor, flags: flags);
1360
if (UseMnemonic && IsMnemonic(charCode,
Text
) && CanProcessMnemonic())
1423
public override string ToString() => $"{base.ToString()}, Text: {
Text
}";
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
338
get => base.
Text
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
92
SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText(OwnerPropertyGrid, g, _titleLabel.
Text
, Font, width);
191
if (_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)
78
if (string.IsNullOrEmpty(_label.
Text
))
298
if (!string.IsNullOrEmpty(_label.
Text
))
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1861
TextRenderer.DrawText(e.Graphics,
Text
, Font, rect, ForeColor, formatFlags);
System\Windows\Forms\Design\FormatControl.cs (6)
163
if (IsMnemonic(charCode, formatTypeLabel.
Text
))
169
if (IsMnemonic(charCode, nullValueLabel.
Text
))
186
if (IsMnemonic(charCode, secondRowLabel.
Text
))
198
if (IsMnemonic(charCode, secondRowLabel.
Text
))
210
if (IsMnemonic(charCode, secondRowLabel.
Text
))
301
secondRowLabel.Visible = secondRowLabel.
Text
.Length > 0;