9 overrides of AllowDrop
System.Windows.Forms (9)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
47
public override bool
AllowDrop
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
124
public override bool
AllowDrop
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
94
public override bool
AllowDrop
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
117
public override bool
AllowDrop
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
83
public override bool
AllowDrop
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
269
public override bool
AllowDrop
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
65
public override bool
AllowDrop
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1285
public override bool
AllowDrop
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
426
public override bool
AllowDrop
41 writes to AllowDrop
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
229
this.rightsTable.
AllowDrop
= false;
System.Windows.Forms (7)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
50
set => base.
AllowDrop
= value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
127
set => base.
AllowDrop
= value;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
97
set => base.
AllowDrop
= value;
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
86
set => base.
AllowDrop
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
279
base.
AllowDrop
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
68
set => base.
AllowDrop
= value;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
429
set => base.
AllowDrop
= value;
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
29
AllowDrop
= true;
System\Windows\Forms\Design\ComponentTray.cs (1)
81
AllowDrop
= true;
System\Windows\Forms\Design\ControlDesigner.cs (2)
624
rc.
AllowDrop
= true;
639
rc.
AllowDrop
= false;
System\Windows\Forms\Design\OleDragDropHandler.cs (2)
307
c.
AllowDrop
= false;
540
ctl.
AllowDrop
= true;
System\Windows\Forms\Design\SelectionUIService.cs (1)
68
AllowDrop
= true;
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
172
AllowDrop
= true;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
295
_treeView1.
AllowDrop
= true;
System.Windows.Forms.Tests (17)
System\Windows\Forms\ControlTests.Handlers.cs (3)
2273
AllowDrop
= true
2421
AllowDrop
= true
2554
AllowDrop
= true
System\Windows\Forms\ControlTests.Methods.cs (3)
491
AllowDrop
= true
678
AllowDrop
= true
896
AllowDrop
= true
System\Windows\Forms\ControlTests.Properties.cs (11)
185
AllowDrop
= value
191
control.
AllowDrop
= value;
196
control.
AllowDrop
= value;
214
control.
AllowDrop
= value;
222
control.
AllowDrop
= value;
230
control.
AllowDrop
= value;
255
control.
AllowDrop
= value;
263
control.
AllowDrop
= value;
271
control.
AllowDrop
= value;
291
Assert.Throws<InvalidOperationException>(() => control.
AllowDrop
= true);
299
control.
AllowDrop
= false;
System.Windows.Forms.UI.IntegrationTests (4)
DragDropTests.cs (4)
68
form.
AllowDrop
= true;
284
form.
AllowDrop
= true;
503
form.
AllowDrop
= true;
675
ListDragTarget.
AllowDrop
= true;
TrimTest (1)
Form1.Designer.cs (1)
64
textBox1.
AllowDrop
= true;
WinFormsControlsTest (2)
DragDrop.cs (2)
40
AllowDrop
= true;
73
textBox.
AllowDrop
= true;
81 references to AllowDrop
System.Windows.Forms (10)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3291
SetAcceptDrops(
AllowDrop
);
System\Windows\Forms\Control.cs (1)
7275
SetAcceptDrops(
AllowDrop
);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
49
get => base.
AllowDrop
;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
126
get => base.
AllowDrop
;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
96
get => base.
AllowDrop
;
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
85
get => base.
AllowDrop
;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
271
get => base.
AllowDrop
;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
67
get => base.
AllowDrop
;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1287
get => base.
AllowDrop
;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
428
get => base.
AllowDrop
;
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
264
if (g.RelatedComponent is Control control && (dragComps.Contains(g.RelatedComponent) || !control.
AllowDrop
))
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
289
if (!ctl.
AllowDrop
)
System\Windows\Forms\Design\ControlDesigner.cs (2)
620
_hadDragDrop = rc.
AllowDrop
;
994
AllowDrop = Control.
AllowDrop
;
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
304
if (c.
AllowDrop
)
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
21
Assert.False(control.
AllowDrop
);
System.Windows.Forms.Tests (65)
System\Windows\Forms\AxHostTests.cs (2)
34
Assert.False(control.
AllowDrop
);
128
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ButtonBaseTests.cs (1)
25
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ButtonTests.cs (1)
26
Assert.False(control.
AllowDrop
);
System\Windows\Forms\CheckBoxTests.cs (1)
24
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ComboBoxTests.cs (1)
26
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ContainerControlTests.cs (1)
24
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ControlTests.cs (5)
21
Assert.False(control.
AllowDrop
);
110
Assert.False(control.
AllowDrop
);
206
Assert.False(control.
AllowDrop
);
302
Assert.False(control.
AllowDrop
);
398
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ControlTests.Handlers.cs (6)
2291
Assert.True(control.
AllowDrop
);
2299
Assert.True(control.
AllowDrop
);
2437
Assert.True(control.
AllowDrop
);
2445
Assert.True(control.
AllowDrop
);
2572
Assert.True(control.
AllowDrop
);
2580
Assert.True(control.
AllowDrop
);
System\Windows\Forms\ControlTests.Methods.cs (5)
498
Assert.True(control.
AllowDrop
);
685
Assert.True(control.
AllowDrop
);
903
Assert.True(control.
AllowDrop
);
908
Assert.True(control.
AllowDrop
);
915
Assert.True(control.
AllowDrop
);
System\Windows\Forms\ControlTests.Properties.cs (11)
187
Assert.Equal(value, control.
AllowDrop
);
192
Assert.Equal(value, control.
AllowDrop
);
197
Assert.Equal(value, control.
AllowDrop
);
215
Assert.Equal(value, control.
AllowDrop
);
223
Assert.Equal(value, control.
AllowDrop
);
231
Assert.Equal(value, control.
AllowDrop
);
256
Assert.Equal(value, control.
AllowDrop
);
264
Assert.Equal(value, control.
AllowDrop
);
272
Assert.Equal(value, control.
AllowDrop
);
292
Assert.False(control.
AllowDrop
);
300
Assert.False(control.
AllowDrop
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
26
Assert.False(control.
AllowDrop
);
System\Windows\Forms\DateTimePickerTests.cs (1)
28
Assert.False(control.
AllowDrop
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
25
Assert.False(control.
AllowDrop
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
22
Assert.False(control.
AllowDrop
);
System\Windows\Forms\DomainUpDownTests.cs (1)
33
_sub.
AllowDrop
.Should().BeFalse();
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
21
Assert.False(control.
AllowDrop
);
System\Windows\Forms\FormTests.cs (1)
23
Assert.False(control.
AllowDrop
);
System\Windows\Forms\HScrollBarTests.cs (1)
21
Assert.False(control.
AllowDrop
);
System\Windows\Forms\LabelTests.cs (1)
22
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ListBoxTests.cs (1)
23
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ListControlTests.cs (1)
24
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ListViewTests.cs (1)
29
Assert.False(control.
AllowDrop
);
System\Windows\Forms\MdiClientTests.cs (1)
23
Assert.False(control.
AllowDrop
);
System\Windows\Forms\MonthCalendarTests.cs (1)
25
Assert.False(control.
AllowDrop
);
System\Windows\Forms\PanelTests.cs (1)
22
Assert.False(control.
AllowDrop
);
System\Windows\Forms\PropertyGridTests.cs (1)
29
Assert.False(control.
AllowDrop
);
System\Windows\Forms\RadioButtonTests.cs (1)
24
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ScrollableControlTests.cs (1)
23
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ScrollBarTests.cs (1)
22
Assert.False(control.
AllowDrop
);
System\Windows\Forms\SplitterPanelTests.cs (1)
28
Assert.False(control.
AllowDrop
);
System\Windows\Forms\TabControlTests.cs (1)
24
Assert.False(control.
AllowDrop
);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
23
Assert.False(control.
AllowDrop
);
System\Windows\Forms\TabPageTests.cs (2)
26
Assert.False(control.
AllowDrop
);
135
Assert.False(control.
AllowDrop
);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
24
Assert.False(control.
AllowDrop
);
System\Windows\Forms\TreeViewTests.cs (1)
22
Assert.False(control.
AllowDrop
);
System\Windows\Forms\UpDownBaseTests.cs (1)
19
Assert.False(control.
AllowDrop
);
System\Windows\Forms\UserControlTests.cs (1)
25
Assert.False(control.
AllowDrop
);
System\Windows\Forms\VScrollBarTests.cs (1)
20
Assert.False(control.
AllowDrop
);
TextBoxTests.cs (1)
25
Assert.False(control.
AllowDrop
);
TrackBarTests.cs (1)
24
Assert.False(control.
AllowDrop
);