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
,
529
textSize = Size.Ceiling(graphics.MeasureString(
Text
, Font, textRectangle.Width, format));
533
graphics.DrawString(
Text
, Font, textBrush, textRectangle, format);
537
ControlPaint.DrawStringDisabled(graphics,
Text
, Font, backColor, textRectangle, format);
558
textSize = hdc.HDC.MeasureText(
Text
, hfont, new Size(textRectangle.Width, int.MaxValue), (TextFormatFlags)flags);
562
hdc.HDC.DrawText(
Text
, hfont, textRectangle, ForeColor, (TextFormatFlags)flags);
568
Text
,
679
if (IsMnemonic(charCode,
Text
) && CanProcessMnemonic())
708
public override string ToString() => $"{base.ToString()}, Text: {
Text
}";
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (6)
644
if (string.IsNullOrEmpty(
Text
)
658
Text
,
679
if (string.IsNullOrEmpty(
Text
) || bounds.Width <= 0 || bounds.Height <= 0)
689
graphics.DrawString(
Text
, ModernCaptionFont, brush, bounds, format);
695
Text
,
749
Text
,