Base:
property
Text
System.Windows.Forms.Control.Text
45 writes to Text
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
907
groupBoxMainContent.
Text
= SR.RMPublishingMainContentGroupLabel;
System.Windows.Forms.Tests (25)
System\Windows\Forms\AccessibleObjects\GroupBoxAccessibleObjectTests.cs (4)
23
groupBox.
Text
= "Some test groupBox text";
37
groupBox.
Text
= "Some test groupBox text";
51
groupBox.
Text
= "Some test groupBox text";
77
groupBox.
Text
= "Some test groupBox text";
System\Windows\Forms\GroupBoxTests.cs (21)
1062
Text
= value
1068
control.
Text
= value;
1080
Text
= value
1086
control.
Text
= value;
1104
control.
Text
= value;
1112
control.
Text
= value;
1136
control.
Text
= value;
1144
control.
Text
= value;
1166
control.
Text
= "text";
1171
control.
Text
= "text";
1176
control.
Text
= null;
1182
control.
Text
= "text";
1862
Text
= text
1900
Text
= text
1975
Text
= text
1988
Text
= text
2007
Text
= text,
2019
Text
= text,
2036
Text
= text
2052
Text
= text
2069
Text
= "CustomText"
TestPassApp (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";
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)
97
Assert.Empty(control.
Text
);
1064
Assert.Equal(expected, control.
Text
);
1069
Assert.Equal(expected, control.
Text
);
1082
Assert.Equal(expected, control.
Text
);
1087
Assert.Equal(expected, control.
Text
);
1105
Assert.Equal(expected, control.
Text
);
1113
Assert.Equal(expected, control.
Text
);
1137
Assert.Equal(expected, control.
Text
);
1145
Assert.Equal(expected, control.
Text
);
1167
Assert.Equal("text", control.
Text
);
1172
Assert.Equal("text", control.
Text
);
1177
Assert.Empty(control.
Text
);
1183
Assert.Equal("text", control.
Text
);