1 write to Priority
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\SnapLine.cs (1)
66
Priority
= priority;
11 references to Priority
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (4)
304
int pri = (int)snapLines[i].
Priority
;
451
int pri = (int)snapLines[i].
Priority
;
463
(((int)snapLines[i].
Priority
== highestPriority) ||
464
((int)snapLines[i].
Priority
== (int)SnapLinePriority.Always)))
System\Windows\Forms\Design\Behavior\SnapLine.cs (1)
181
return $"SnapLine: {{type = {SnapLineType}, offset = {Offset}, priority = {
Priority
}, filter = {Filter ?? "<null>"}}}";
System.Windows.Forms.Design.Tests (6)
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (4)
23
Assert.Equal(SnapLinePriority.Low, snapLine.
Priority
);
34
Assert.Equal(SnapLinePriority.Low, snapLine.
Priority
);
45
Assert.Equal(DefaultPriority, snapLine.
Priority
);
56
Assert.Equal(DefaultPriority, snapLine.
Priority
);
System\Windows\Forms\Design\TextBoxBaseDesignerTests.cs (1)
60
baselineSnapLine!.
Priority
.Should().Be(SnapLinePriority.Medium);
System\Windows\Forms\Design\UpDownBaseDesignerTests.cs (1)
58
baselineSnapLine.Should().BeOfType<SnapLine>().Which.
Priority
.Should().Be(SnapLinePriority.Medium);