Base:
property
Text
System.Windows.Forms.Control.Text
45 writes to Text
Accessibility_Core_App (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";
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
911groupBoxMainContent.Text = SR.RMPublishingMainContentGroupLabel;
System.Windows.Forms.Tests (25)
System\Windows\Forms\AccessibleObjects\GroupBoxAccessibleObjectTests.cs (4)
21groupBox.Text = "Some test groupBox text"; 35groupBox.Text = "Some test groupBox text"; 49groupBox.Text = "Some test groupBox text"; 75groupBox.Text = "Some test groupBox text";
System\Windows\Forms\GroupBoxTests.cs (21)
1060Text = value 1066control.Text = value; 1078Text = value 1084control.Text = value; 1102control.Text = value; 1110control.Text = value; 1134control.Text = value; 1142control.Text = value; 1164control.Text = "text"; 1169control.Text = "text"; 1174control.Text = null; 1180control.Text = "text"; 1860Text = text 1898Text = text 1973Text = text 1986Text = text 2005Text = text, 2017Text = text, 2034Text = text 2050Text = text 2067Text = "CustomText"
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)
95Assert.Empty(control.Text); 1062Assert.Equal(expected, control.Text); 1067Assert.Equal(expected, control.Text); 1080Assert.Equal(expected, control.Text); 1085Assert.Equal(expected, control.Text); 1103Assert.Equal(expected, control.Text); 1111Assert.Equal(expected, control.Text); 1135Assert.Equal(expected, control.Text); 1143Assert.Equal(expected, control.Text); 1165Assert.Equal("text", control.Text); 1170Assert.Equal("text", control.Text); 1175Assert.Empty(control.Text); 1181Assert.Equal("text", control.Text);