23 references to Baseline
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
936else if (snapLine.SnapLineType == SnapLineType.Baseline)
System\Windows\Forms\Design\Behavior\SnapLine.cs (1)
82or SnapLineType.Baseline;
System\Windows\Forms\Design\ButtonBaseDesigner.cs (1)
97snapLines.Add(new SnapLine(SnapLineType.Baseline, baseline, SnapLinePriority.Medium));
System\Windows\Forms\Design\ComboBoxDesigner.cs (1)
35snapLines.Add(new SnapLine(SnapLineType.Baseline, baseline, SnapLinePriority.Medium));
System\Windows\Forms\Design\DateTimePickerDesigner.cs (1)
31snapLines.Add(new SnapLine(SnapLineType.Baseline, baseline, SnapLinePriority.Medium));
System\Windows\Forms\Design\LabelDesigner.cs (1)
60snapLines.Add(new SnapLine(SnapLineType.Baseline, baseline, SnapLinePriority.Medium));
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (1)
56snapLines.Add(new SnapLine(SnapLineType.Baseline, baseline, SnapLinePriority.Medium));
System\Windows\Forms\Design\UpDownBaseDesigner.cs (1)
52snapLines.Add(new SnapLine(SnapLineType.Baseline, baseline, SnapLinePriority.Medium));
System.Windows.Forms.Design.Tests (15)
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (13)
20SnapLine snapLine = new(SnapLineType.Baseline, DefaultOffset); 22Assert.Equal(SnapLineType.Baseline, snapLine.SnapLineType); 31SnapLine snapLine = new(SnapLineType.Baseline, DefaultOffset, DefaultFilter); 33Assert.Equal(SnapLineType.Baseline, snapLine.SnapLineType); 42SnapLine snapLine = new(SnapLineType.Baseline, DefaultOffset, DefaultPriority); 44Assert.Equal(SnapLineType.Baseline, snapLine.SnapLineType); 53SnapLine snapLine = new(SnapLineType.Baseline, DefaultOffset, DefaultFilter, DefaultPriority); 55Assert.Equal(SnapLineType.Baseline, snapLine.SnapLineType); 65[InlineData(SnapLineType.Baseline, true)] 80[InlineData(SnapLineType.Baseline, false)] 115SnapLine snapLine = new(SnapLineType.Baseline, offset, DefaultFilter, DefaultPriority); 125SnapLine snapLine2 = new(SnapLineType.Baseline, DefaultOffset, DefaultFilter, DefaultPriority); 237SnapLine snapLine = new(SnapLineType.Baseline, DefaultOffset, filter, DefaultPriority);
System\Windows\Forms\Design\TextBoxBaseDesignerTests.cs (1)
55SnapLine? baselineSnapLine = snapLines.Cast<SnapLine>().FirstOrDefault(sl => sl.SnapLineType == SnapLineType.Baseline);
System\Windows\Forms\Design\UpDownBaseDesignerTests.cs (1)
55SnapLine? baselineSnapLine = snapLines.FirstOrDefault(sl => sl.SnapLineType == SnapLineType.Baseline);