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