Base:
property
Text
System.Windows.Forms.Control.Text
1 write to Text
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
901groupBoxMainContent.Text = SR.RMPublishingMainContentGroupLabel;
17 references to Text
System.Windows.Forms (17)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (11)
16[DefaultProperty(nameof(Text))] 464Text, 475Text, 529textSize = Size.Ceiling(graphics.MeasureString(Text, Font, textRectangle.Width, format)); 533graphics.DrawString(Text, Font, textBrush, textRectangle, format); 537ControlPaint.DrawStringDisabled(graphics, Text, Font, backColor, textRectangle, format); 558textSize = hdc.HDC.MeasureText(Text, hfont, new Size(textRectangle.Width, int.MaxValue), (TextFormatFlags)flags); 562hdc.HDC.DrawText(Text, hfont, textRectangle, ForeColor, (TextFormatFlags)flags); 568Text, 679if (IsMnemonic(charCode, Text) && CanProcessMnemonic()) 708public override string ToString() => $"{base.ToString()}, Text: {Text}";
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (6)
644if (string.IsNullOrEmpty(Text) 658Text, 679if (string.IsNullOrEmpty(Text) || bounds.Width <= 0 || bounds.Height <= 0) 689graphics.DrawString(Text, ModernCaptionFont, brush, bounds, format); 695Text, 749Text,