20 instantiations of Docking
System.Windows.Forms (13)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
14[Docking(DockingBehavior.Ask)]
System\Windows\Forms\Controls\ListView\ListView.cs (1)
26[Docking(DockingBehavior.Ask)]
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
20[Docking(DockingBehavior.Ask)]
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
21[Docking(DockingBehavior.Ask)]
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
12[Docking(DockingBehavior.Never)]
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
24[Docking(DockingBehavior.Ask)]
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
21[Docking(DockingBehavior.AutoDock)]
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
20[Docking(DockingBehavior.AutoDock)]
System\Windows\Forms\Layout\DockingAttribute.cs (1)
16public static readonly DockingAttribute Default = new();
System\Windows\Forms\Panels\FlowLayoutPanel.cs (1)
12[Docking(DockingBehavior.Ask)]
System\Windows\Forms\Panels\Panel.cs (1)
16[Docking(DockingBehavior.Ask)]
System\Windows\Forms\Panels\SplitterPanel.cs (1)
9[Docking(DockingBehavior.Never)]
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
19[Docking(DockingBehavior.Never)]
System.Windows.Forms.Design.Tests (2)
ControlDesignerTests.cs (2)
333TypeDescriptor.AddAttributes(_designer._control, new DockingAttribute(dockingBehavior)); 354TypeDescriptor.AddAttributes(_designer._control, new DockingAttribute(DockingBehavior.AutoDock));
System.Windows.Forms.Tests (5)
System\Windows\Forms\DockingAttributeTests.cs (5)
12DockingAttribute attribute = new(); 22DockingAttribute attribute = new(dockingBehavior); 38DockingAttribute attribute = new(DockingBehavior.Ask); 40yield return new object[] { attribute, new DockingAttribute(DockingBehavior.Ask), true }; 41yield return new object[] { attribute, new DockingAttribute(DockingBehavior.Never), false };
16 references to Docking
System.Windows.Forms (2)
System\Windows\Forms\Layout\DockingAttribute.cs (2)
16public static readonly DockingAttribute Default = new(); 27return obj is DockingAttribute other && other.DockingBehavior == DockingBehavior;
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\ControlDesigner.cs (6)
935DockingAttribute? dockingAttribute = (DockingAttribute?)attributes[typeof(DockingAttribute)]; 1160DockingAttribute? dockingAttribute = (DockingAttribute?)attributes[typeof(DockingAttribute)];
System.Windows.Forms.Tests (8)
System\Windows\Forms\DockingAttributeTests.cs (8)
12DockingAttribute attribute = new(); 22DockingAttribute attribute = new(dockingBehavior); 30DockingAttribute attribute = DockingAttribute.Default; 31Assert.Same(attribute, DockingAttribute.Default); 38DockingAttribute attribute = new(DockingBehavior.Ask); 49public void DockingAttribute_Equals_Invoke_ReturnsExpected(DockingAttribute attribute, object other, bool expected) 52if (other is DockingAttribute)