41 writes to
System.Windows.Forms.Design (41)
System\ComponentModel\Design\ComponentDesigner.cs (2)
513ShadowProperties[SettingsKeyName] = settingsKeyName; 523ShadowProperties[SettingsKeyName] = value;
System\Windows\Forms\Design\ControlDesigner.cs (3)
1090set => ShadowProperties[nameof(AllowDrop)] = value; 1099set => ShadowProperties[nameof(Enabled)] = value; 1105set => ShadowProperties[nameof(Visible)] = value;
System\Windows\Forms\Design\DocumentDesigner.cs (3)
107ShadowProperties[nameof(AutoScaleMode)] = value; 135ShadowProperties[nameof(BackColor)] = value; 157ShadowProperties[nameof(Location)] = value;
System\Windows\Forms\Design\FormDocumentDesigner.cs (8)
36ShadowProperties[nameof(AcceptButton)] = value; 50ShadowProperties[nameof(CancelButton)] = value; 72ShadowProperties[nameof(AutoScaleBaseSize)] = value; 176ShadowProperties[nameof(Opacity)] = value; 250set => ShadowProperties[nameof(ShowInTaskbar)] = value; 259set => ShadowProperties[nameof(WindowState)] = value; 345ShadowProperties[nameof(AcceptButton)] = form.AcceptButton; 346ShadowProperties[nameof(CancelButton)] = form.CancelButton;
System\Windows\Forms\Design\ListBoxDesigner.cs (1)
23ShadowProperties[nameof(IntegralHeight)] = value;
System\Windows\Forms\Design\ListViewDesigner.cs (1)
51ShadowProperties[nameof(OwnerDraw)] = value;
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (4)
46ShadowProperties[nameof(TopToolStripPanelVisible)] = value; 60ShadowProperties[nameof(LeftToolStripPanelVisible)] = value; 74ShadowProperties[nameof(RightToolStripPanelVisible)] = value; 88ShadowProperties[nameof(BottomToolStripPanelVisible)] = value;
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
118ShadowProperties[nameof(AllowDrop)] = value; 135ShadowProperties[nameof(AllowItemReorder)] = value;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (7)
38set => ShadowProperties[nameof(AutoClose)] = value; 44set => ShadowProperties[nameof(AllowDrop)] = value; 171ShadowProperties[SettingsKeyName] = $"{rootComponent.Site.Name}.{Component.Site.Name}"; 175ShadowProperties[SettingsKeyName] = Component.Site.Name; 188ShadowProperties[SettingsKeyName] = value; 585ShadowProperties[nameof(AutoClose)] = true; 601ShadowProperties[nameof(AllowDrop)] = false;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (6)
46ShadowProperties[nameof(AutoSize)] = value; 62ShadowProperties[nameof(AccessibleName)] = value; 192ShadowProperties[nameof(Overflow)] = value; 234ShadowProperties[nameof(Visible)] = value; 1078private void ResetAutoSize() => ShadowProperties[nameof(AutoSize)] = false; 1103private void ResetAccessibleName() => ShadowProperties[nameof(AccessibleName)] = null;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
108set => ShadowProperties[nameof(CheckOnClick)] = value; 114set => ShadowProperties[nameof(DoubleClickEnabled)] = value;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
103ShadowProperties[nameof(Padding)] = value; 136ShadowProperties[nameof(Visible)] = value;
50 references to
System.Windows.Forms.Design (50)
System\ComponentModel\Design\ComponentDesigner.cs (1)
491string? settingsKeyName = (string?)ShadowProperties[SettingsKeyName];
System\ComponentModel\Design\ComponentDesigner.ShadowPropertyCollection.cs (1)
82return !Equals(this[propertyName], defaultValue);
System\Windows\Forms\Design\ControlDesigner.cs (3)
1089get => (bool)ShadowProperties[nameof(AllowDrop)]!; 1098get => (bool)ShadowProperties[nameof(Enabled)]!; 1104get => (bool)ShadowProperties[nameof(Visible)]!;
System\Windows\Forms\Design\DocumentDesigner.cs (2)
153return (Point)ShadowProperties[nameof(Location)]; 1349if (!ShadowProperties.Contains(nameof(BackColor)) || ((Color)ShadowProperties[nameof(BackColor)]).IsEmpty)
System\Windows\Forms\Design\FormDocumentDesigner.cs (7)
32get => ShadowProperties[nameof(AcceptButton)] as IButtonControl; 46get => ShadowProperties[nameof(CancelButton)] as IButtonControl; 161get => (double)ShadowProperties[nameof(Opacity)]; 249get => (bool)ShadowProperties[nameof(ShowInTaskbar)]; 258get => (FormWindowState)ShadowProperties[nameof(WindowState)]; 382if (ce.Component == ShadowProperties[nameof(AcceptButton)]) 387if (ce.Component == ShadowProperties[nameof(CancelButton)])
System\Windows\Forms\Design\ListBoxDesigner.cs (2)
20get => (bool)ShadowProperties[nameof(IntegralHeight)]!; 58listBox.IntegralHeight = (bool)ShadowProperties[nameof(IntegralHeight)]!;
System\Windows\Forms\Design\ListViewDesigner.cs (1)
47return (bool)ShadowProperties[nameof(OwnerDraw)];
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (4)
43get => (bool)ShadowProperties[nameof(TopToolStripPanelVisible)]!; // This is first set in the Initialize method 57get => (bool)ShadowProperties[nameof(LeftToolStripPanelVisible)]!; // This is first set in the Initialize method 71get => (bool)ShadowProperties[nameof(RightToolStripPanelVisible)]!; // This is first set in the Initialize method 85get => (bool)ShadowProperties[nameof(BottomToolStripPanelVisible)]!; // This is first set in the Initialize method
System\Windows\Forms\Design\ToolStripDesigner.cs (4)
110get => (bool)ShadowProperties[nameof(AllowDrop)]; 127get => (bool)ShadowProperties[nameof(AllowItemReorder)]; 2409private bool ShouldSerializeAllowDrop() => (bool)ShadowProperties[nameof(AllowDrop)]; 2414private bool ShouldSerializeAllowItemReorder() => (bool)ShadowProperties[nameof(AllowItemReorder)];
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (8)
37get => (bool)ShadowProperties[nameof(AutoClose)]; 43get => (bool)ShadowProperties[nameof(AllowDrop)]; 162if (string.IsNullOrEmpty((string)ShadowProperties[SettingsKeyName])) 179persistableComponent.SettingsKey = ShadowProperties[SettingsKeyName] as string; 184return ShadowProperties[SettingsKeyName] as string; 593_dropDown.AutoClose = (bool)ShadowProperties[nameof(AutoClose)]; 609_dropDown.AutoClose = (bool)ShadowProperties[nameof(AllowDrop)]; 718private bool ShouldSerializeAutoClose() => (!(bool)ShadowProperties[nameof(AutoClose)]);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (10)
40get => (bool)ShadowProperties[nameof(AutoSize)]; 43bool autoSize = (bool)ShadowProperties[nameof(AutoSize)]; 58return (string)ShadowProperties[nameof(AccessibleName)]; 169get => (ToolStripItemOverflow)ShadowProperties[nameof(Overflow)]; 231get => (bool)ShadowProperties[nameof(Visible)]; 1083private void RestoreAutoSize() => ToolStripItem.AutoSize = (bool)ShadowProperties[nameof(AutoSize)]; 1093private void RestoreOverflow() => ToolStripItem.Overflow = (ToolStripItemOverflow)ShadowProperties[nameof(Overflow)]; 1108private void RestoreAccessibleName() => ToolStripItem.AccessibleName = (string)ShadowProperties[nameof(AccessibleName)]; 1196private bool ShouldSerializeAccessibleName() => (ShadowProperties[nameof(AccessibleName)] is not null); 1201private bool ShouldSerializeOverflow() => (ShadowProperties[nameof(Overflow)] is not null);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (4)
107get => (bool)ShadowProperties[nameof(CheckOnClick)]; 113get => (bool)ShadowProperties[nameof(DoubleClickEnabled)]; 2468private bool ShouldSerializeDoubleClickEnabled() => (bool)ShadowProperties[nameof(DoubleClickEnabled)]; 2473private bool ShouldSerializeCheckOnClick() => (bool)ShadowProperties[nameof(CheckOnClick)];
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (3)
100get => (Padding)ShadowProperties[nameof(Padding)]!; 133get => (bool)ShadowProperties[nameof(Visible)]!; 587Padding padding = (Padding)ShadowProperties[nameof(Padding)]!;