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