18 references to LinearGradientBrush
System.Windows.Forms (13)
winforms\Managed\System\WinForms\ToolStripComboBox.cs (3)
702
using (Brush b = new
LinearGradientBrush
(dropDownRect, colorTable.ComboBoxButtonSelectedGradientBegin, colorTable.ComboBoxButtonSelectedGradientEnd, LinearGradientMode.Vertical)) {
712
using (Brush b = new
LinearGradientBrush
(dropDownRect, colorTable.ComboBoxButtonGradientBegin, colorTable.ComboBoxButtonGradientEnd, LinearGradientMode.Vertical)) {
718
using (Brush b = new
LinearGradientBrush
(dropDownRect, colorTable.ComboBoxButtonPressedGradientBegin, colorTable.ComboBoxButtonPressedGradientEnd, LinearGradientMode.Vertical)) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (10)
558
using (Brush b = new
LinearGradientBrush
(bounds, ColorTable.MenuItemSelectedGradientBegin, ColorTable.MenuItemSelectedGradientEnd, LinearGradientMode.Vertical)) {
870
using (Brush b = new
LinearGradientBrush
(beginGradient, beginColor, middleColor, mode)) {
875
using (LinearGradientBrush b = new
LinearGradientBrush
(endGradient, middleColor, endColor, mode)) {
890
using (Brush b = new
LinearGradientBrush
(bounds, beginColor, endColor, mode)) {
941
using (Brush b = new
LinearGradientBrush
(bounds, ColorTable.MenuItemPressedGradientBegin, ColorTable.MenuItemPressedGradientEnd, LinearGradientMode.Vertical)) {
985
using (LinearGradientBrush b = new
LinearGradientBrush
(gradientBounds, beginColor, endColor, LinearGradientMode.Horizontal)){
995
using (LinearGradientBrush b = new
LinearGradientBrush
(gradientBounds, beginColor, endColor, LinearGradientMode.Horizontal)){
1224
using (Brush b = new
LinearGradientBrush
(bounds, ColorTable.ButtonSelectedGradientBegin, ColorTable.ButtonSelectedGradientEnd, LinearGradientMode.Vertical)) {
1241
using (Brush b = new
LinearGradientBrush
(bounds, ColorTable.ButtonCheckedGradientBegin, ColorTable.ButtonCheckedGradientEnd, LinearGradientMode.Vertical)) {
1355
using (Brush b = new
LinearGradientBrush
(bounds, ColorTable.ButtonPressedGradientBegin, ColorTable.ButtonPressedGradientEnd, LinearGradientMode.Vertical)) {
System.Workflow.Activities (1)
Designers\StateDesigner.Layouts.cs (1)
1022
using (Brush linearGradientBrush = new
LinearGradientBrush
(rectangle, color1, color2, LinearGradientMode.Vertical))
System.Workflow.ComponentModel (4)
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
386
using (Brush linearGradientBrush = new
LinearGradientBrush
(rectangle, color1, color2, LinearGradientMode.Vertical))
473
using (Brush linearGradientBrush = new
LinearGradientBrush
(rectangle, color2, color1, LinearGradientMode.Vertical))
AuthoringOM\Design\Themes.cs (2)
1308
this.backgroundBrush = new
LinearGradientBrush
(this.backgroundBrushRect, this.backColorStart, this.backColorEnd, this.backgroundStyle);
1636
this.expandButtonBackBrush = new
LinearGradientBrush
(this.expandButtonRectangle, Color.White, Color.FromArgb(173, 170, 156), LinearGradientMode.ForwardDiagonal);