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