Base:
property
Text
System.Windows.Forms.Control.Text
45 writes to Text
Accessibility_Core_App (13)
CommonControl1.Designer.cs (8)
112
this.groupBox1.
Text
= "Button";
240
this.groupBox2.
Text
= "CheckedBox";
314
this.groupBox3.
Text
= "ComboBox";
378
this.groupBox4.
Text
= "ListView";
425
this.groupBox5.
Text
= "Label";
570
this.groupBox6.
Text
= "ListBox";
608
this.groupBox7.
Text
= "MaskedTextBox";
640
this.groupBox8.
Text
= "DataTimerPicker";
ContainerControls.Designer.cs (4)
204
this.groupBox1.
Text
= "FlatStyle=Standard";
227
this.groupBox2.
Text
= "FlatStyle=Flat";
250
this.groupBox3.
Text
= "FlatStyle=Popup";
273
this.groupBox4.
Text
= "FlatStyle=System";
ContainerControls2.Designer.cs (1)
298
this.groupBox5.
Text
= "groupBox5";
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
911
groupBoxMainContent.
Text
= SR.RMPublishingMainContentGroupLabel;
System.Windows.Forms.Tests (25)
System\Windows\Forms\AccessibleObjects\GroupBoxAccessibleObjectTests.cs (4)
21
groupBox.
Text
= "Some test groupBox text";
35
groupBox.
Text
= "Some test groupBox text";
49
groupBox.
Text
= "Some test groupBox text";
75
groupBox.
Text
= "Some test groupBox text";
System\Windows\Forms\GroupBoxTests.cs (21)
1060
Text
= value
1066
control.
Text
= value;
1078
Text
= value
1084
control.
Text
= value;
1102
control.
Text
= value;
1110
control.
Text
= value;
1134
control.
Text
= value;
1142
control.
Text
= value;
1164
control.
Text
= "text";
1169
control.
Text
= "text";
1174
control.
Text
= null;
1180
control.
Text
= "text";
1860
Text
= text
1898
Text
= text
1973
Text
= text
1986
Text
= text
2005
Text
= text,
2017
Text
= text,
2034
Text
= text
2050
Text
= text
2067
Text
= "CustomText"
WinFormsControlsTest (6)
ComboBoxesWithScrollBars.Designer.cs (4)
120
this.changeHeightGroupBox1.
Text
= "Change a height";
207
this.changeMaxDropDownItemsGroupBox2.
Text
= "Change MaxDropDownItems value";
261
this.changeIntegralHeightGroupBox3.
Text
= "Change IntegralHeight value";
308
this.changeHeightsStyleGroupBox4.
Text
= "Change items heights style";
MultipleControls.Designer.cs (1)
221
this.groupBox1.
Text
= "groupBox1";
TrackBars.Designer.cs (1)
105
this.gbOrientation.
Text
= "Orientation";
24 references to Text
System.Windows.Forms (11)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (11)
16
[DefaultProperty(nameof(
Text
))]
435
Text
,
446
Text
,
486
textSize = Size.Ceiling(graphics.MeasureString(
Text
, Font, textRectangle.Width, format));
490
graphics.DrawString(
Text
, Font, textBrush, textRectangle, format);
494
ControlPaint.DrawStringDisabled(graphics,
Text
, Font, backColor, textRectangle, format);
515
textSize = hdc.HDC.MeasureText(
Text
, hfont, new Size(textRectangle.Width, int.MaxValue), (TextFormatFlags)flags);
519
hdc.HDC.DrawText(
Text
, hfont, textRectangle, ForeColor, (TextFormatFlags)flags);
525
Text
,
623
if (IsMnemonic(charCode,
Text
) && CanProcessMnemonic())
651
public override string ToString() => $"{base.ToString()}, Text: {
Text
}";
System.Windows.Forms.Tests (13)
System\Windows\Forms\GroupBoxTests.cs (13)
95
Assert.Empty(control.
Text
);
1062
Assert.Equal(expected, control.
Text
);
1067
Assert.Equal(expected, control.
Text
);
1080
Assert.Equal(expected, control.
Text
);
1085
Assert.Equal(expected, control.
Text
);
1103
Assert.Equal(expected, control.
Text
);
1111
Assert.Equal(expected, control.
Text
);
1135
Assert.Equal(expected, control.
Text
);
1143
Assert.Equal(expected, control.
Text
);
1165
Assert.Equal("text", control.
Text
);
1170
Assert.Equal("text", control.
Text
);
1175
Assert.Empty(control.
Text
);
1181
Assert.Equal("text", control.
Text
);