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