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, 514textSize = Size.Ceiling(graphics.MeasureString(Text, Font, textRectangle.Width, format)); 518graphics.DrawString(Text, Font, textBrush, textRectangle, format); 522ControlPaint.DrawStringDisabled(graphics, Text, Font, backColor, textRectangle, format); 543textSize = hdc.HDC.MeasureText(Text, hfont, new Size(textRectangle.Width, int.MaxValue), (TextFormatFlags)flags); 547hdc.HDC.DrawText(Text, hfont, textRectangle, ForeColor, (TextFormatFlags)flags); 553Text, 664if (IsMnemonic(charCode, Text) && CanProcessMnemonic()) 693public override string ToString() => $"{base.ToString()}, Text: {Text}";
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (6)
612if (string.IsNullOrEmpty(Text) 626Text, 647if (string.IsNullOrEmpty(Text) || bounds.Width <= 0 || bounds.Height <= 0) 657graphics.DrawString(Text, ModernCaptionFont, brush, bounds, format); 663Text, 717Text,