Base:
property
Text
System.Windows.Forms.Control.Text
1 write to Text
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
901
groupBoxMainContent.
Text
= SR.RMPublishingMainContentGroupLabel;
17 references to Text
System.Windows.Forms (17)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (11)
16
[DefaultProperty(nameof(
Text
))]
464
Text
,
475
Text
,
514
textSize = Size.Ceiling(graphics.MeasureString(
Text
, Font, textRectangle.Width, format));
518
graphics.DrawString(
Text
, Font, textBrush, textRectangle, format);
522
ControlPaint.DrawStringDisabled(graphics,
Text
, Font, backColor, textRectangle, format);
543
textSize = hdc.HDC.MeasureText(
Text
, hfont, new Size(textRectangle.Width, int.MaxValue), (TextFormatFlags)flags);
547
hdc.HDC.DrawText(
Text
, hfont, textRectangle, ForeColor, (TextFormatFlags)flags);
553
Text
,
664
if (IsMnemonic(charCode,
Text
) && CanProcessMnemonic())
693
public override string ToString() => $"{base.ToString()}, Text: {
Text
}";
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (6)
612
if (string.IsNullOrEmpty(
Text
)
626
Text
,
647
if (string.IsNullOrEmpty(
Text
) || bounds.Width <= 0 || bounds.Height <= 0)
657
graphics.DrawString(
Text
, ModernCaptionFont, brush, bounds, format);
663
Text
,
717
Text
,