Base:
property
Text
System.Windows.Forms.Control.Text
66 writes to Text
PresentationUI (32)
MS\Internal\Documents\CredentialManagerDialog.cs (4)
153
_cancelButton.
Text
= SR.RMCredManagementCancel;
154
_okButton.
Text
= SR.RMCredManagementOk;
155
_addButton.
Text
= SR.RMCredManagementAdd;
156
_removeButton.
Text
= SR.RMCredManagementRemove;
MS\Internal\Documents\RequestedSignatureDialog.cs (2)
125
_addButton.
Text
= SR.RequestSignatureDialogAdd;
126
_cancelButton.
Text
= SR.RequestSignatureDialogCancel;
MS\Internal\Documents\RMEnrollmentPage1.cs (2)
53
_nextButton.
Text
= SR.RMEnrollmentNext;
54
_cancelButton.
Text
= SR.RMEnrollmentCancel;
MS\Internal\Documents\RMEnrollmentPage2.cs (4)
83
this._nextButton.
Text
= SR.RMEnrollmentNext;
84
this._cancelButton.
Text
= SR.RMEnrollmentCancel;
87
this._networkRadioButton.
Text
= SR.RMEnrollmentPage2c;
88
this._passportRadioButton.
Text
= SR.RMEnrollmentPage2e;
MS\Internal\Documents\RMPermissions.cs (1)
224
closeButton.
Text
= SR.RMPermissionsCloseButton;
MS\Internal\Documents\RMPublishingDialog.cs (9)
897
radioButtonUnrestricted.
Text
= SR.RMPublishingUnrestrictedRadio;
898
radioButtonPermissions.
Text
= SR.RMPublishingPermissionsRadio;
899
radioButtonTemplate.
Text
= SR.RMPublishingTemplateRadio;
909
buttonAddUser.
Text
= SR.RMPublishingAddUserButton;
941
checkBoxValidUntil.
Text
= SR.RMPublishingExpiresOn;
942
checkBoxPermissionsContact.
Text
=
944
buttonSave.
Text
= SR.RMPublishingSaveButton;
946
buttonSaveAs.
Text
= SR.RMPublishingSaveAsButton;
948
buttonCancel.
Text
= SR.RMPublishingCancelButton;
MS\Internal\Documents\SignatureSummaryDialog.cs (5)
788
_buttonDone.
Text
= SR.DigSigSumDone;
789
_buttonSign.
Text
= SR.DigSigSumSign;
790
_buttonViewCert.
Text
= SR.DigSigSumViewCert;
791
_buttonRequestAdd.
Text
= SR.DigSigSumRequestAdd;
792
_buttonRequestDelete.
Text
= SR.DigSigSumRequestDelete;
MS\Internal\Documents\SigningDialog.cs (5)
237
_addDocPropCheckBox.
Text
= SR.SigningDialogAddDocPropCheckBox;
238
_addDigSigCheckBox.
Text
= SR.SigningDialogAddDigSigCheckBox;
239
_cancelButton.
Text
= SR.SigningDialogCancelButton;
240
_signButton.
Text
= SR.SigningDialogSignButton;
241
_signSaveAsButton.
Text
= SR.SigningDialogSignSaveAsButton;
System.Windows.Forms (14)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (3)
59
_detailsButton.
Text
= $" {SR.ExDlgShowDetails}";
63
_okButton.
Text
= SR.ExDlgOk;
64
_cancelButton.
Text
= SR.ExDlgCancel;
System\Windows\Forms\Design\ComponentEditorForm.cs (6)
102
_cancelButton.
Text
= SR.CloseCaption;
267
_helpButton.
Text
= SR.HelpCaption;
274
_applyButton.
Text
= SR.ApplyCaption;
281
_cancelButton.
Text
= SR.CancelCaption;
288
_okButton.
Text
= SR.OKCaption;
428
_cancelButton.
Text
= SR.CancelCaption;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (4)
270
_continueButton.
Text
= SR.ExDlgContinue;
274
_quitButton.
Text
= SR.ExDlgQuit;
278
_helpButton.
Text
= SR.ExDlgHelp;
282
_detailsButton.
Text
= SR.ExDlgShowDetails;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
49
Text
= SR.PrintControllerWithStatusDialog_Cancel,
System.Windows.Forms.Design (20)
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (1)
53
_checkBox.
Text
= StripAmpersands(PropertyItem!.DisplayName);
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (9)
115
_topLeft.
Text
= string.Empty;
121
_topCenter.
Text
= string.Empty;
127
_topRight.
Text
= string.Empty;
133
_middleLeft.
Text
= string.Empty;
139
_middleCenter.
Text
= string.Empty;
145
_middleRight.
Text
= string.Empty;
151
_bottomLeft.
Text
= string.Empty;
157
_bottomCenter.
Text
= string.Empty;
163
_bottomRight.
Text
= string.Empty;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (2)
609
_cancelButton.
Text
= SR.DataGridView_Cancel;
750
_cancelButton.
Text
= (SR.DataGridView_Close);
System\Windows\Forms\Design\DockEditor.DockUI.cs (6)
46
Text
= DockStyle.None.ToString(),
60
Text
= " ",
71
Text
= " ",
82
Text
= " ",
93
Text
= " ",
104
Text
= " ",
System\Windows\Forms\Design\FormatStringDialog.cs (2)
186
_cancelButton.
Text
= SR.DataGridView_Cancel;
196
_okButton.
Text
= SR.DataGridView_OK;
26 references to Text
System.Windows.Forms (22)
System\Windows\Forms\Controls\Buttons\Button.cs (3)
96
Size requiredSize = TextRenderer.MeasureText(
Text
, Font);
319
if (UseMnemonic && CanProcessMnemonic() && IsMnemonic(charCode,
Text
))
328
public override string ToString() => $"{base.ToString()}, Text: {
Text
}";
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
897
_textToolTip.Show(WindowsFormsUtils.TextWithoutMnemonics(
Text
), this);
1168
using var textVariant = (VARIANT)
Text
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (8)
476
g.DrawString(Control.
Text
, Control.Font, highlightBrush, r, stringFormat);
480
g.DrawString(Control.
Text
, Control.Font, shadowBrush, r, stringFormat);
486
g.DrawString(Control.
Text
, Control.Font, brush, r, stringFormat);
498
TextRenderer.DrawTextInternal(e, Control.
Text
, Control.Font, r, colors.ButtonShadow, formatFlags);
503
TextRenderer.DrawTextInternal(e, Control.
Text
, Control.Font, r, colors.Highlight, formatFlags);
506
TextRenderer.DrawTextInternal(e, Control.
Text
, Control.Font, r, colors.ButtonShadow, formatFlags);
511
TextRenderer.DrawTextInternal(e, Control.
Text
, Control.Font, r, color, formatFlags);
618
Text = Control.
Text
,
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
330
if (string.IsNullOrEmpty(Control.
Text
))
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (1)
77
if (!string.IsNullOrEmpty(Control.
Text
))
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxStandardAdapter.cs (1)
36
if (!string.IsNullOrEmpty(Control.
Text
))
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (1)
221
if (string.IsNullOrEmpty(Control.
Text
))
System\Windows\Forms\Controls\Buttons\CheckBox.cs (2)
302
Size textSize = TextRenderer.MeasureText(
Text
, Font);
540
if (UseMnemonic && IsMnemonic(charCode,
Text
) && CanSelect)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (2)
271
Size textSize = TextRenderer.MeasureText(
Text
, Font);
521
if (UseMnemonic && IsMnemonic(charCode,
Text
) && CanSelect)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
301
SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText(_ownerGrid, g, _detailsButton.
Text
, _detailsButton.Font);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (4)
62
if (_showSplit && !string.IsNullOrEmpty(
Text
) && TextRenderer.MeasureText(
Text
, Font).Width + PushButtonWidth > preferredSize.Width)
231
if (!string.IsNullOrEmpty(
Text
))
233
TextRenderer.DrawText(pevent,
Text
, Font, bounds, SystemColors.ControlText, formatFlags);