Base:
property
Text
System.Windows.Forms.Control.Text
45 writes to Text
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
907groupBoxMainContent.Text = SR.RMPublishingMainContentGroupLabel;
System.Windows.Forms.Tests (25)
System\Windows\Forms\AccessibleObjects\GroupBoxAccessibleObjectTests.cs (4)
23groupBox.Text = "Some test groupBox text"; 37groupBox.Text = "Some test groupBox text"; 51groupBox.Text = "Some test groupBox text"; 77groupBox.Text = "Some test groupBox text";
System\Windows\Forms\GroupBoxTests.cs (21)
1062Text = value 1068control.Text = value; 1080Text = value 1086control.Text = value; 1104control.Text = value; 1112control.Text = value; 1136control.Text = value; 1144control.Text = value; 1166control.Text = "text"; 1171control.Text = "text"; 1176control.Text = null; 1182control.Text = "text"; 1862Text = text 1900Text = text 1975Text = text 1988Text = text 2007Text = text, 2019Text = text, 2036Text = text 2052Text = text 2069Text = "CustomText"
TestPassApp (13)
CommonControl1.Designer.cs (8)
112this.groupBox1.Text = "Button"; 240this.groupBox2.Text = "CheckedBox"; 314this.groupBox3.Text = "ComboBox"; 378this.groupBox4.Text = "ListView"; 425this.groupBox5.Text = "Label"; 570this.groupBox6.Text = "ListBox"; 608this.groupBox7.Text = "MaskedTextBox"; 640this.groupBox8.Text = "DataTimerPicker";
ContainerControls.Designer.cs (4)
204this.groupBox1.Text = "FlatStyle=Standard"; 227this.groupBox2.Text = "FlatStyle=Flat"; 250this.groupBox3.Text = "FlatStyle=Popup"; 273this.groupBox4.Text = "FlatStyle=System";
ContainerControls2.Designer.cs (1)
298this.groupBox5.Text = "groupBox5";
WinFormsControlsTest (6)
ComboBoxesWithScrollBars.Designer.cs (4)
120this.changeHeightGroupBox1.Text = "Change a height"; 207this.changeMaxDropDownItemsGroupBox2.Text = "Change MaxDropDownItems value"; 261this.changeIntegralHeightGroupBox3.Text = "Change IntegralHeight value"; 308this.changeHeightsStyleGroupBox4.Text = "Change items heights style";
MultipleControls.Designer.cs (1)
221this.groupBox1.Text = "groupBox1";
TrackBars.Designer.cs (1)
105this.gbOrientation.Text = "Orientation";
24 references to Text
System.Windows.Forms (11)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (11)
16[DefaultProperty(nameof(Text))] 435Text, 446Text, 486textSize = Size.Ceiling(graphics.MeasureString(Text, Font, textRectangle.Width, format)); 490graphics.DrawString(Text, Font, textBrush, textRectangle, format); 494ControlPaint.DrawStringDisabled(graphics, Text, Font, backColor, textRectangle, format); 515textSize = hdc.HDC.MeasureText(Text, hfont, new Size(textRectangle.Width, int.MaxValue), (TextFormatFlags)flags); 519hdc.HDC.DrawText(Text, hfont, textRectangle, ForeColor, (TextFormatFlags)flags); 525Text, 623if (IsMnemonic(charCode, Text) && CanProcessMnemonic()) 651public override string ToString() => $"{base.ToString()}, Text: {Text}";
System.Windows.Forms.Tests (13)
System\Windows\Forms\GroupBoxTests.cs (13)
97Assert.Empty(control.Text); 1064Assert.Equal(expected, control.Text); 1069Assert.Equal(expected, control.Text); 1082Assert.Equal(expected, control.Text); 1087Assert.Equal(expected, control.Text); 1105Assert.Equal(expected, control.Text); 1113Assert.Equal(expected, control.Text); 1137Assert.Equal(expected, control.Text); 1145Assert.Equal(expected, control.Text); 1167Assert.Equal("text", control.Text); 1172Assert.Equal("text", control.Text); 1177Assert.Empty(control.Text); 1183Assert.Equal("text", control.Text);