3 overrides of ParticipatesWithSnapLines
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\FlowPanelDesigner.cs (1)
11
public override bool
ParticipatesWithSnapLines
=> false;
System\Windows\Forms\Design\TabControlDesigner.cs (1)
29
public override bool
ParticipatesWithSnapLines
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
110
public override bool
ParticipatesWithSnapLines
=> false;
11 references to ParticipatesWithSnapLines
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
657
if (newDestHost.GetDesigner(target) is ControlDesigner designer && !designer.
ParticipatesWithSnapLines
)
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
49
if (controlDesigner is not null && !controlDesigner.
ParticipatesWithSnapLines
)
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1929
if (_dragManager is null &&
ParticipatesWithSnapLines
&& _mouseDragTool is not null && BehaviorService.UseSnapLines)
System\Windows\Forms\Design\TabControlDesigner.cs (1)
42
return pageDesigner.
ParticipatesWithSnapLines
;
System.Windows.Forms.Design.Tests (7)
ControlDesignerTests.cs (1)
73
_designer.
ParticipatesWithSnapLines
.Should().BeTrue();
System\Windows\Forms\Design\FlowPanelDesignerTests.cs (1)
35
designer.
ParticipatesWithSnapLines
.Should().BeFalse();
System\Windows\Forms\Design\TabControlDesignerTests.cs (5)
135
bool result = designer.
ParticipatesWithSnapLines
;
152
pageDesignerMock.Setup(p => p.
ParticipatesWithSnapLines
).Returns(true);
156
bool result = designer.
ParticipatesWithSnapLines
;
171
pageDesignerMock.Setup(p => p.
ParticipatesWithSnapLines
).Returns(false);
175
bool result = designer.
ParticipatesWithSnapLines
;