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