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