10 references to Never
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
12[Docking(DockingBehavior.Never)]
System\Windows\Forms\Layout\DockingAttribute.cs (1)
12public DockingAttribute() => DockingBehavior = DockingBehavior.Never;
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 (2)
System\Windows\Forms\Design\ControlDesigner.cs (2)
936if (dockingAttribute is not null && dockingAttribute.DockingBehavior != DockingBehavior.Never) 1162if (dockingAttribute is not null && dockingAttribute.DockingBehavior != DockingBehavior.Never
System.Windows.Forms.Tests (4)
System\Windows\Forms\DockingAttributeTests.cs (4)
13Assert.Equal(DockingBehavior.Never, attribute.DockingBehavior); 24Assert.Equal(dockingBehavior == DockingBehavior.Never, attribute.IsDefaultAttribute()); 32Assert.Equal(DockingBehavior.Never, attribute.DockingBehavior); 41yield return new object[] { attribute, new DockingAttribute(DockingBehavior.Never), false };