2 writes to DockingBehavior
System.Windows.Forms (2)
System\Windows\Forms\Layout\DockingAttribute.cs (2)
12public DockingAttribute() => DockingBehavior = DockingBehavior.Never; 14public DockingAttribute(DockingBehavior dockingBehavior) => DockingBehavior = dockingBehavior;
9 references to DockingBehavior
System.Windows.Forms (3)
System\Windows\Forms\Layout\DockingAttribute.cs (3)
27return obj is DockingAttribute other && other.DockingBehavior == DockingBehavior; 30public override int GetHashCode() => DockingBehavior.GetHashCode();
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ControlDesigner.cs (3)
936if (dockingAttribute is not null && dockingAttribute.DockingBehavior != DockingBehavior.Never) 1162if (dockingAttribute is not null && dockingAttribute.DockingBehavior != DockingBehavior.Never 1163&& dockingAttribute.DockingBehavior == DockingBehavior.AutoDock)
System.Windows.Forms.Tests (3)
System\Windows\Forms\DockingAttributeTests.cs (3)
13Assert.Equal(DockingBehavior.Never, attribute.DockingBehavior); 23Assert.Equal(dockingBehavior, attribute.DockingBehavior); 32Assert.Equal(DockingBehavior.Never, attribute.DockingBehavior);