14 references to Vertical
System.Drawing.Common.Tests (1)
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (1)
78yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, Color.Plum, LinearGradientMode.Vertical };
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (3)
94LinearGradientMode.Vertical); 111LinearGradientMode.Vertical); 122LinearGradientMode.Vertical);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (9)
465FillWithDoubleGradient(ColorTable.OverflowButtonGradientBegin, ColorTable.OverflowButtonGradientMiddle, ColorTable.OverflowButtonGradientEnd, e.Graphics, edging, _iconWellGradientWidth, _iconWellGradientWidth, LinearGradientMode.Vertical, /*flipHorizontal=*/false); 580LinearGradientMode.Vertical); 637LinearGradientMode.Vertical); 1091LinearGradientMode.Vertical); 1177LinearGradientMode mode = (toolStrip.Orientation == Orientation.Horizontal) ? LinearGradientMode.Vertical : LinearGradientMode.Horizontal; 1281LinearGradientMode mode = horizontal ? LinearGradientMode.Vertical : LinearGradientMode.Horizontal; 1417LinearGradientMode.Vertical); 1441LinearGradientMode.Vertical); 1553LinearGradientMode.Vertical);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1827using (LinearGradientBrush brush = new(bounds, Color.White, _defaultBorderColor, LinearGradientMode.Vertical))