1 write to _label
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
24
_label
= new Label
10 references to _label
System.Windows.Forms.Design (10)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (10)
60
AddedControls.Add(
_label
);
78
if (string.IsNullOrEmpty(
_label
.Text))
83
return LineLeftMargin +
_label
.GetPreferredSize(new Size(int.MaxValue, int.MaxValue)).Width + TextBoxLineCenterMargin;
109
_label
.Location = new Point(LineLeftMargin, top);
110
int labelPreferredWidth =
_label
.GetPreferredSize(new Size(int.MaxValue, int.MaxValue)).Width;
111
_label
.Size = new Size(labelPreferredWidth, height);
127
_label
.Text = StripAmpersands(PropertyItem!.DisplayName);
128
_label
.TabIndex = currentTabIndex++;
129
toolTip.SetToolTip(
_label
, PropertyItem.Description);
298
if (!string.IsNullOrEmpty(
_label
.Text))