Base:
property
Text
System.Windows.Forms.Control.Text
349 writes to Text
Accessibility_Core_App (81)
CommonControl1.Designer.cs (13)
122this.button12.Text = "System"; 133this.button1.Text = "Details"; 145this.button10.Text = "Flat"; 155this.button9.Text = "Standard"; 166this.button8.Text = "PopUp"; 177this.button3.Text = "List"; 189this.button4.Text = "SmallIcon"; 201this.button5.Text = "AutoSizeTrue"; 212this.button2.Text = "LargeIcon"; 223this.button6.Text = "AutoSizeFalse"; 273this.checkBox3.Text = "ThreeState"; 285this.checkBox2.Text = "UnChecked"; 298this.checkBox1.Text = "Checked";
CommonControl2.Designer.cs (1)
117this.radioButton1.Text = "radioButton1";
ContainerControls.Designer.cs (30)
141this.button2.Text = "button2"; 151this.button5.Text = "button5"; 161this.button6.Text = "button6"; 213this.button7.Text = "button7"; 236this.button8.Text = "button8"; 259this.button9.Text = "button9"; 282this.button10.Text = "button10"; 312this.radioButton6.Text = "radioButton6"; 322this.radioButton5.Text = "radioButton5"; 332this.radioButton4.Text = "radioButton4"; 344this.checkBox2.Text = "checkBox2"; 356this.radioButton3.Text = "radioButton3"; 366this.radioButton2.Text = "radioButton2"; 375this.button18.Text = "button18"; 384this.button17.Text = "button17"; 394this.radioButton1.Text = "radioButton1"; 404this.checkBox1.Text = "checkBox1"; 447this.button19.Text = "button19"; 493this.button20.Text = "button20"; 515this.button21.Text = "button21"; 539this.button4.Text = "button4"; 549this.button1.Text = "button1"; 559this.button3.Text = "button3"; 623this.button12.Text = "button12"; 677this.button11.Text = "button11"; 699this.button13.Text = "button13"; 722this.button14.Text = "button14"; 732this.button22.Text = "button22"; 742this.button23.Text = "button23"; 795this.button24.Text = "button24";
ContainerControls2.Designer.cs (12)
112this.button15.Text = "button15"; 122this.button16.Text = "button16"; 163this.radioButton6.Text = "radioButton6"; 173this.radioButton5.Text = "radioButton5"; 183this.radioButton4.Text = "radioButton4"; 195this.checkBox2.Text = "checkBox2"; 207this.radioButton3.Text = "radioButton3"; 217this.radioButton2.Text = "radioButton2"; 226this.button18.Text = "button18"; 235this.button17.Text = "button17"; 245this.radioButton1.Text = "radioButton1"; 255this.checkBox1.Text = "checkBox1";
DataBindingExample.Designer.cs (3)
104this.button1.Text = "button1"; 137this.radioButton1.Text = "Agreement"; 179this.checkBox1.Text = "Is_Student";
DialogControls.Designer.cs (4)
43this.ColorDialog.Text = "ColorDialog"; 54this.FolderBrowserDialog.Text = "FolderBrowserDialog"; 65this.OpenFileDialog.Text = "OpenFileDialog"; 76this.SaveFileDialog.Text = "SaveFileDialog";
Main.Designer.cs (11)
52this.button1.Text = "Common_Controls1: Testing the controls under the Common_Controls Tab"; 63this.button2.Text = "Common_Controls2: Testing the controls under the Common_Controls Tab"; 74this.button3.Text = "Data_Controls: Testing the controls under the Data Tab"; 85this.button4.Text = "Dialogs_Controls: Testing the controls under the Dialogs Tab"; 96this.button5.Text = "MenuToolbars_Controls: Testing the controls under the Menu & Toolbars Tab"; 107this.button6.Text = "Printing_Controls: Testing the controls under the Printing Tab"; 118this.button7.Text = "Remaining_Controls_Testing"; 129this.button8.Text = "Containers_Controls: Testing the controls under the Containers Tab"; 140this.button9.Text = "Containers_Controls_2: Testing the controls under the Containers Tab"; 150this.button10.Text = "TaskDialog: Testing the task dialog"; 160this.button12.Text = "DataBinding Example";
MenuForm.Designer.cs (2)
42this.button1.Text = "StripControls"; 53this.button2.Text = "ToolStripContainer";
PrintingControls.Designer.cs (4)
96this.btnSetting.Text = "&Setting"; 107this.btnPreView.Text = "P&review"; 118this.btnPrint.Text = "&Print"; 129this.button1.Text = "Preview &Control";
ToolStripContainer.Designer.cs (1)
586this.button1.Text = "button1";
DesignSurface (13)
MainForm.cs (13)
131b1.Text = "I'm the first Button"; 132b2.Text = "I'm the second Button"; 137rb1.Text = "Check me!"; 139rb2.Text = "No, check me!"; 143checkbox1.Text = "I'm Unchecked!"; 145checkbox2.Text = "I'm Indeterminate!"; 149checkbox3.Text = "I'm Checked!"; 193b1.Text = "I'm a Button"; 221b1.Text = "I'm the first Button"; 222b2.Text = "I'm the second Button"; 223b3.Text = "I'm the third Button (belonging to the GroupBox)"; 242b1.Text = "I'm the first Button"; 243b2.Text = "I'm the second Button";
NativeHost.ManagedControl (1)
ManagedControl.Designer.cs (1)
42this.button1.Text = "button1";
PresentationUI (32)
MS\Internal\Documents\CredentialManagerDialog.cs (4)
161_cancelButton.Text = SR.RMCredManagementCancel; 162_okButton.Text = SR.RMCredManagementOk; 163_addButton.Text = SR.RMCredManagementAdd; 164_removeButton.Text = SR.RMCredManagementRemove;
MS\Internal\Documents\RequestedSignatureDialog.cs (2)
129_addButton.Text = SR.RequestSignatureDialogAdd; 130_cancelButton.Text = SR.RequestSignatureDialogCancel;
MS\Internal\Documents\RMEnrollmentPage1.cs (2)
59_nextButton.Text = SR.RMEnrollmentNext; 60_cancelButton.Text = SR.RMEnrollmentCancel;
MS\Internal\Documents\RMEnrollmentPage2.cs (4)
89this._nextButton.Text = SR.RMEnrollmentNext; 90this._cancelButton.Text = SR.RMEnrollmentCancel; 93this._networkRadioButton.Text = SR.RMEnrollmentPage2c; 94this._passportRadioButton.Text = SR.RMEnrollmentPage2e;
MS\Internal\Documents\RMPermissions.cs (1)
229closeButton.Text = SR.RMPermissionsCloseButton;
MS\Internal\Documents\RMPublishingDialog.cs (9)
912radioButtonUnrestricted.Text = SR.RMPublishingUnrestrictedRadio; 913radioButtonPermissions.Text = SR.RMPublishingPermissionsRadio; 914radioButtonTemplate.Text = SR.RMPublishingTemplateRadio; 924buttonAddUser.Text = SR.RMPublishingAddUserButton; 956checkBoxValidUntil.Text = SR.RMPublishingExpiresOn; 957checkBoxPermissionsContact.Text = 959buttonSave.Text = SR.RMPublishingSaveButton; 961buttonSaveAs.Text = SR.RMPublishingSaveAsButton; 963buttonCancel.Text = SR.RMPublishingCancelButton;
MS\Internal\Documents\SignatureSummaryDialog.cs (5)
780_buttonDone.Text = SR.DigSigSumDone; 781_buttonSign.Text = SR.DigSigSumSign; 782_buttonViewCert.Text = SR.DigSigSumViewCert; 783_buttonRequestAdd.Text = SR.DigSigSumRequestAdd; 784_buttonRequestDelete.Text = SR.DigSigSumRequestDelete;
MS\Internal\Documents\SigningDialog.cs (5)
240_addDocPropCheckBox.Text = SR.SigningDialogAddDocPropCheckBox; 241_addDigSigCheckBox.Text = SR.SigningDialogAddDigSigCheckBox; 242_cancelButton.Text = SR.SigningDialogCancelButton; 243_signButton.Text = SR.SigningDialogSignButton; 244_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)
56Text = 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)
46Text = DockStyle.None.ToString(), 60Text = " ", 71Text = " ", 82Text = " ", 93Text = " ", 104Text = " ",
System\Windows\Forms\Design\FormatStringDialog.cs (2)
186_cancelButton.Text = SR.DataGridView_Cancel; 196_okButton.Text = SR.DataGridView_OK;
System.Windows.Forms.Tests (72)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (1)
2620Text = "MSAA Button"
System\Windows\Forms\AccessibleObjects\ButtonBase.ButtonBaseAccessibleObjectTests.cs (2)
254Text = "Text" 262control.Text = newText;
System\Windows\Forms\AccessibleObjects\RadioButton.RadioButtonAccessibleObjectTests.cs (3)
91using RadioButton radioButton = new() { Text = "TestText" }; 102using RadioButton radioButton = new() { Text = "&TestText", UseMnemonic = useMnemonic }; 113using RadioButton radioButton = new() { Text = "&RadioButton", UseMnemonic = useMnemonic };
System\Windows\Forms\ButtonBaseTests.cs (18)
3052control.Text = value; 3058control.Text = value; 3096control.Text = value; 3104control.Text = value; 3143control.Text = value; 3151control.Text = value; 3199control.Text = value; 3210control.Text = value; 3239control.Text = "text"; 3244control.Text = "text"; 3249control.Text = null; 3255control.Text = "text"; 6235Text = text 6280Text = text, 6313Text = text 6371Text = text, 6435Text = text 6467Text = text
System\Windows\Forms\ButtonRenderingTests.cs (3)
121button.Text = "Hello"; 167button.Text = "Hello"; 228button.Text = "Flat Style";
System\Windows\Forms\ButtonTests.cs (33)
594Text = "text" 694Text = "text" 768control.Text = value; 774control.Text = value; 812control.Text = value; 820control.Text = value; 859control.Text = value; 867control.Text = value; 915control.Text = value; 926control.Text = value; 949Text = "text" 956control.Text = "NextText"; 974control.Text = "text"; 979control.Text = "text"; 984control.Text = null; 990control.Text = "text"; 1336Text = "Text" 1360Text = "Text" 1632Text = "Text" 1656Text = "Text" 1680Text = "Text" 1704Text = "Text" 1728Text = "Text" 1752Text = "Text" 2379Text = text 2423Text = text, 2455Text = text 2512Text = text, 2572Text = text 2603Text = text 3266Text = text 3301Text = text, 3355Text = "Text"
System\Windows\Forms\CheckBoxRendererTests.cs (3)
66control.Text = "Text"; 103control.Text = "Text"; 137control.Text = "Text";
System\Windows\Forms\CheckBoxTests.cs (1)
849Text = buttonText,
System\Windows\Forms\RadioButtonRendererTests.cs (3)
60control.Text = "Text"; 97control.Text = "Text"; 116control.Text = "Text";
System\Windows\Forms\RadioButtonTests.cs (5)
1356Text = text 1385Text = text, 1415Text = text 1455Text = text, 1520Text = "Text"
System.Windows.Forms.UI.IntegrationTests (5)
ButtonTests.cs (3)
340button.Text = "&Click"; 364button.Text = "&Click"; 383button.Text = "&Click";
DragDropTests.cs (2)
93Text = "Click" 627_useCustomCursorsCheck.Text = "Use Custom Cursors";
TrimTest (1)
Form1.Designer.cs (1)
92button1.Text = "Copy ComboBox Text";
WinFormsControlsTest (110)
AnchorLayoutTests.Designer.cs (9)
51this.button1.Text = "Top-Left"; 61this.button2.Text = "Top"; 71this.button3.Text = "Top-Right"; 81this.button4.Text = "Left"; 91this.button5.Text = "Bottom-Left"; 103this.button6.Text = "All"; 113this.button7.Text = "Right"; 123this.button8.Text = "Bottom"; 133this.button9.Text = "Bottom-Right";
Buttons.cs (3)
54Text = style.ToString(), 75Text = style.ToString(), 96Text = style.ToString()
Calendar.Designer.cs (6)
85this.setMinDateButton.Text = "Set MinDate"; 116this.setMaxDateButton.Text = "Set MaxDate"; 173this.resetMinDateButton.Text = "Reset"; 184this.resetMaxDateButton.Text = "Reset"; 196this.showWeekNumbersCheckBox.Text = "showWeekNumbers"; 208this.showTodayCheckBox.Text = "showToday";
ComboBoxesWithScrollBars.Designer.cs (6)
271this.integralHeightCheckBox1.Text = "IntegralHeight"; 282this.integralHeightCheckBox2.Text = "IntegralHeight"; 293this.integralHeightCheckBox3.Text = "IntegralHeight"; 318this.useDifferentHeightsCheckBox1.Text = "Use different heights"; 329this.useDifferentHeightsCheckBox2.Text = "Use different heights"; 340this.useDifferentHeightsCheckBox3.Text = "Use different heights";
CustomComCtl32Button.cs (4)
46Text = $"Real Button Standard Not Pressed", 63button.Text = $"Real Button Standard Pressed"; 68button.Text = $"Real Button Standard Not Pressed"; 82checkbox.Text = $"CheckBox (Button appearance) Standard {(isPressed ? "Checked" : "Unchecked")}";
DataGridViewTest.Designer.cs (2)
153this.changeFontButton.Text = "Change DGV font"; 201this.resetFontButton.Text = "Reset DGV font";
DesignTimeAligned.Designer.cs (1)
70this.button1.Text = "LL";
Dialogs.Designer.cs (6)
67this.btnOpenFileDialog.Text = "Open &file dialog"; 77this.btnColorDialog.Text = "&Color dialog"; 87this.btnThreadExceptionDialog.Text = "&Thread exception dialog"; 97this.btnPrintDialog.Text = "&Print dialog"; 107this.btnFolderBrowserDialog.Text = "Folder &browser dialog"; 117this.btnSaveFileDialog.Text = "&Save file dialog";
DockLayoutTests.Designer.cs (5)
50this.button1.Text = "Left"; 60this.button3.Text = "Right"; 70this.button2.Text = "Top"; 80this.button4.Text = "Bottom"; 90this.button5.Text = "Fill";
DragDrop.Designer.cs (2)
182buttonOpenCats.Text = "Open Cats"; 192buttonClear.Text = "Clear";
ErrorProviderTest.Designer.cs (1)
122this.submitButton.Text = "Validate";
FormBorderStyles.Designer.cs (1)
41this.btnChangeFormBorderStyle.Text = "Change FormBorderStyle";
FormShowInTaskbar.cs (2)
19Text = "Click here to open new Form", 40Text = $"Click here to test ShowInTaskbar.{Environment.NewLine}If the test result is failed, this dialog will automatically close, or it will throw an exception.",
ListBoxes.Designer.cs (8)
80this.addButton1.Text = "Add"; 88this.deleteButton1.Text = "Delete"; 113this.addButton2.Text = "Add"; 121this.deleteButton2.Text = "Delete"; 149this.addButton3.Text = "Add"; 157this.deleteButton3.Text = "Delete"; 186this.addButton4.Text = "Add"; 194this.deleteButton4.Text = "Delete";
ListViewTest.Designer.cs (3)
113this.btnClearListView1.Text = "Clear"; 123this.btnLoadImagesListView1.Text = "Load images"; 145this.btnReplaceImageListView1.Text = "Replace image";
MainForm.cs (1)
33Text = info.Name,
MdiChild.Designer.cs (7)
68this.chkChildAlign.Text = "Top align minimized child"; 79this.chkRightToLeft.Text = "Right to left mode"; 90this.btnOpenChild.Text = "Open new child"; 101this.chkSetParentMenustrip.Text = "Set parent menustrip"; 112this.chkSetMenustrip.Text = "Set child menustrip"; 123this.chkAddParentMenustrip.Text = "Add parent menustrip to Controls"; 134this.chkAddMenustrip.Text = "Add menustrip to Controls";
MultipleControls.Designer.cs (5)
83this.button1.Text = "button1"; 175this.checkBox1.Text = "checkBox1"; 185this.checkBox2.Text = "Three state CheckBox"; 196this.radioButton2.Text = "radioButton2"; 206this.radioButton1.Text = "radioButton1";
Password.Designer.cs (1)
132button1.Text = "Show/hide";
PictureBoxes.Designer.cs (1)
63this.btnloadImage.Text = "Load";
RichTextBoxes.cs (1)
130Button confirmation = new() { Text = "Ok", Left = 350, Width = 100, Top = 70, DialogResult = DialogResult.OK };
ScalingBeforeChanges.Designer.cs (1)
44this.checkBox1.Text = "checkBox1";
ScrollableControls.Designer.cs (17)
108button1.Text = "button1"; 117button2.Text = "button2"; 126button3.Text = "button3"; 135button4.Text = "button4"; 144button5.Text = "button5"; 175button9.Text = "button9"; 184button8.Text = "button8"; 193button7.Text = "button7"; 202button6.Text = "button6"; 244button16.Text = "button16"; 253button15.Text = "button15"; 262button10.Text = "button10"; 271button14.Text = "button14"; 280button13.Text = "button13"; 289button12.Text = "button12"; 298button11.Text = "button11"; 338button17.Text = "button17";
ScrollBars.Designer.cs (1)
93this.chbRightToLeft.Text = "Right to left";
TaskDialogSamples.cs (1)
33Text = name,
ToolStripSeparatorPreferredSize.cs (1)
74_buttonChangeOrientation.Text = "Change Orientation";
ToolStripTests.cs (2)
15toolStrip1.Items.Add(new ToolStripControlHost(new RadioButton() { Text = "RadioButton" })); // RadioButton supports UIA 17statusStrip1.Items.Add(new ToolStripControlHost(new RadioButton() { Text = "RadioButton" })); // RadioButton supports UIA
ToolTipTests.Designer.cs (7)
57this.delaysNotSetButton.Text = "Delays &not set"; 68this.automaticDelayButton.Text = "&AutomaticDelay = 300"; 79this.autoPopDelayButton.Text = "Auto&PopDelay = 6000"; 105this.defaultAutomaticDelayButton.Text = "AutomaticDelay = 500"; 116this.defaultAutoPopDelayButton.Text = "AutoPopDelay = 5000"; 127this.initialDelayButton.Text = "I&nitial delay = 10"; 138this.autoEllipsisButton.Text = "Auto&Ellipsis = true; 1234567890";
TrackBars.Designer.cs (5)
78this.rbHorizontal.Text = "Horizontal"; 90this.rbVertical.Text = "Vertical"; 115this.chbRightToLeft.Text = "RightToLeft"; 127this.chbRightToLeftLayout.Text = "RightToLeftLayout"; 139this.tickstyleNone.Text = "TickstyleNone";
80 references to Text
System.Windows.Forms (22)
System\Windows\Forms\Controls\Buttons\Button.cs (3)
96Size requiredSize = TextRenderer.MeasureText(Text, Font); 283if (UseMnemonic && CanProcessMnemonic() && IsMnemonic(charCode, Text)) 292public override string ToString() => $"{base.ToString()}, Text: {Text}";
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
843_textToolTip.Show(WindowsFormsUtils.TextWithoutMnemonics(Text), this); 1110using var textVariant = (VARIANT)Text;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (8)
474g.DrawString(Control.Text, Control.Font, highlightBrush, r, stringFormat); 478g.DrawString(Control.Text, Control.Font, shadowBrush, r, stringFormat); 484g.DrawString(Control.Text, Control.Font, brush, r, stringFormat); 496TextRenderer.DrawTextInternal(e, Control.Text, Control.Font, r, colors.ButtonShadow, formatFlags); 501TextRenderer.DrawTextInternal(e, Control.Text, Control.Font, r, colors.Highlight, formatFlags); 504TextRenderer.DrawTextInternal(e, Control.Text, Control.Font, r, colors.ButtonShadow, formatFlags); 509TextRenderer.DrawTextInternal(e, Control.Text, Control.Font, r, color, formatFlags); 601Text = Control.Text,
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
330if (string.IsNullOrEmpty(Control.Text))
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (1)
77if (!string.IsNullOrEmpty(Control.Text))
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxStandardAdapter.cs (1)
36if (!string.IsNullOrEmpty(Control.Text))
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (1)
221if (string.IsNullOrEmpty(Control.Text))
System\Windows\Forms\Controls\Buttons\CheckBox.cs (2)
283Size textSize = TextRenderer.MeasureText(Text, Font); 520if (UseMnemonic && IsMnemonic(charCode, Text) && CanSelect)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (2)
254Size textSize = TextRenderer.MeasureText(Text, Font); 504if (UseMnemonic && IsMnemonic(charCode, Text) && CanSelect)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
301SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText(_ownerGrid, g, _detailsButton.Text, _detailsButton.Font);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (4)
62if (_showSplit && !string.IsNullOrEmpty(Text) && TextRenderer.MeasureText(Text, Font).Width + PushButtonWidth > preferredSize.Width) 231if (!string.IsNullOrEmpty(Text)) 233TextRenderer.DrawText(pevent, Text, Font, bounds, SystemColors.ControlText, formatFlags);
System.Windows.Forms.Tests (52)
System\Windows\Forms\ButtonBaseTests.cs (13)
110Assert.Empty(control.Text); 3053Assert.Equal(expected, control.Text); 3059Assert.Equal(expected, control.Text); 3097Assert.Equal(expected, control.Text); 3105Assert.Equal(expected, control.Text); 3144Assert.Equal(expected, control.Text); 3152Assert.Equal(expected, control.Text); 3200Assert.Equal(expected, control.Text); 3211Assert.Equal(expected, control.Text); 3240Assert.Equal("text", control.Text); 3245Assert.Equal("text", control.Text); 3250Assert.Empty(control.Text); 3256Assert.Equal("text", control.Text);
System\Windows\Forms\ButtonTests.cs (25)
108Assert.Empty(control.Text); 599Size newSize = TextRenderer.MeasureText(control.Text, control.Font); 696Size oldSize = TextRenderer.MeasureText(control.Text, control.Font); 700Size newSize = TextRenderer.MeasureText(control.Text, font); 769Assert.Equal(expected, control.Text); 775Assert.Equal(expected, control.Text); 813Assert.Equal(expected, control.Text); 821Assert.Equal(expected, control.Text); 860Assert.Equal(expected, control.Text); 868Assert.Equal(expected, control.Text); 916Assert.Equal(expected, control.Text); 927Assert.Equal(expected, control.Text); 951Size oldSize = TextRenderer.MeasureText(control.Text, control.Font); 975Assert.Equal("text", control.Text); 980Assert.Equal("text", control.Text); 985Assert.Empty(control.Text); 991Assert.Equal("text", control.Text); 1338Size minSize = TextRenderer.MeasureText(control.Text, control.Font); 1362Size minSize = TextRenderer.MeasureText(control.Text, control.Font); 1634Size minSize = TextRenderer.MeasureText(control.Text, control.Font); 1658Size minSize = TextRenderer.MeasureText(control.Text, control.Font); 1682Size minSize = TextRenderer.MeasureText(control.Text, control.Font); 1706Size minSize = TextRenderer.MeasureText(control.Text, control.Font); 1730Size minSize = TextRenderer.MeasureText(control.Text, control.Font); 1754Size minSize = TextRenderer.MeasureText(control.Text, control.Font);
System\Windows\Forms\CheckBoxRendererTests.cs (7)
31CheckBoxRenderer.DrawCheckBox(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, false, cBState); 68CheckBoxRenderer.DrawCheckBox(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, false, cBState); 76control.Text, 105CheckBoxRenderer.DrawCheckBox(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, textFormat, false, cBState); 113control.Text, 139CheckBoxRenderer.DrawCheckBox(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, TextFormatFlags.Default, focus, cBState, HWND.Null); 147control.Text,
System\Windows\Forms\CheckBoxTests.cs (1)
110Assert.Empty(control.Text);
System\Windows\Forms\RadioButtonRendererTests.cs (5)
62RadioButtonRenderer.DrawRadioButton(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, false, rBState); 70control.Text, 99RadioButtonRenderer.DrawRadioButton(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, textFormat, false, rBState); 122control.Text, 136control.Text,
System\Windows\Forms\RadioButtonTests.cs (1)
108Assert.Empty(control.Text);
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
120Assert.Equal(button?.Text, data.Text);