1 write to _checkBox
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (1)
18
_checkBox
= new CheckBox
12 references to _checkBox
System.Windows.Forms.Design (12)
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (12)
27
_checkBox
.CheckedChanged += OnCheckBoxCheckedChanged;
29
AddedControls.Add(
_checkBox
);
32
public override void Focus() =>
_checkBox
.Focus();
36
Size checkBoxPreferredSize =
_checkBox
.GetPreferredSize(new Size(int.MaxValue, int.MaxValue));
39
_checkBox
.Location = new Point(LineLeftMargin, top + LineVerticalPadding / 2);
40
_checkBox
.Size = checkBoxPreferredSize;
48
SetValue(
_checkBox
.Checked);
53
_checkBox
.Text = StripAmpersands(PropertyItem!.DisplayName);
54
_checkBox
.AccessibleDescription = PropertyItem.Description;
55
_checkBox
.TabIndex = currentTabIndex++;
57
toolTip.SetToolTip(
_checkBox
, PropertyItem.Description);
62
_checkBox
.Checked = (bool)Value!;